Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Building for a specific target, corei7"
2013 Oct 12
2
[LLVMdev] Building for a specific target, corei7
Hi Andrew,
I think I diluted my question. My question was not related to MCJIT.
I ran the following 4 scenarios:
(1)gcc -mcpu=corei7 tetris.c -o tetris
(2)gcc -mcpu=athlon64 tetris.c -o tetris
(3)clang -march=corei7 tetris.c -o tetris
(4)clang -march=athlon64 tetris.c -o tetris
In (1) and (2), I see difference in order of instructions in the output binaries, which I expected because every CPU
2013 Oct 14
0
[LLVMdev] Building for a specific target, corei7
Hi Varun,
I see the point of your question, but I'm not the best person to answer from that perspective.
Nadav Rotem is the owner of the x86 backend, and he can probably give you a more complete answer than I could.
Thanks,
Andy
From: Varun Agrawal [mailto:vagrawal at cs.stonybrook.edu]
Sent: Friday, October 11, 2013 8:48 PM
To: Kaylor, Andrew; llvmdev at cs.uiuc.edu
Subject: RE: Building
2013 Oct 11
0
[LLVMdev] Building for a specific target, corei7
Hi Varun,
Have you tried your experiment with icc by any chance?
The MCJIT component does not assume that you will be executing the generated code on the host system because it can be used to generate code for external targets. However, you can specify the CPU by calling setCPU() on the EngineBuilder object before creating your execution engine. (You can use sys::getHostCPUName() to figure out
2011 Jul 02
1
Heads Up: gcc-4.6 -march=corei7 -mtune=corei7 doesn't work
Noticed something I thought I would share so that others don't scratch their head wondering about it if they try the same.
I updated my system to Oneiric, and decided to recompile Wine. I tried making use of the corei7 optimizations in gcc 4.6 and found that, while a lot of stuff worked (ex. Steam), other things (like DirectX games) did not.
So, as always... don't expect things to work
2012 Nov 05
2
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi,
I am first year PhD student at Stony Brook University. For one of my projects I am trying to JIT compile and run a C program containing inline assembly using MCJIT but I am not able to.
I have cloned and build LLVM-3.1. Below are more details.
Arch : x86
OS : Linux ubuntu 2.6.35-22-generic
Sample program : test_inline_asm.c
-------------------
#include <stdio.h>
int main(){
int
2012 Nov 05
0
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi Amit,
You're not doing anything wrong. This is an error in 'lli' not properly initializing the native target libraries. Fixed in SVN trunk r167392.
-Jim
On Nov 4, 2012, at 4:09 PM, Amit Arya <aarya at cs.stonybrook.edu> wrote:
> Hi,
>
> I am first year PhD student at Stony Brook University. For one of my projects I am trying to JIT compile and run a C program
2012 Nov 05
1
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi Jim,
Thanks for the reply. I was able to figure out the problem in 'lli'. InitializeNativeTargetAsmParser() was missing in lli.
I should have replied back saying that the problem was resolved. Hope I didn't waste your time.
Regards,
Amit
________________________________
From: Jim Grosbach [grosbach at apple.com]
Sent: Monday, November 05, 2012 2:07 PM
To: Amit Arya
Cc: LLVM
2012 Aug 25
2
[LLVMdev] How to Check whether BasicBlock resides in a conditional branch
2012/8/25 Iaroslav Markov <ymarkov at cs.stonybrook.edu>:
> Can't you do it by performing some analysis on CFG? You can traverse that structure with BFS. And after that for all the BB you have visited more than once, you try to find a parent that has a branch instruction as a terminator. Additionally you ensure that there are no BB with branches as terminators on your way. If such
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Thanks for your reply.
Yes, I was about to recurse over the use list of the argument in the called
function. I did not want to pursue that because with this solution, I am
going to implement the interprocedural part myself and was wondering if
that was not already done. I was not also 100% sure that this will work for
any type of arguments.
If, based on your response, this is my only solution
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Hello,
I have been using the USE class to access the use-def chains of different
values. However, what I have noticed is that the set of users of a
particular value is limited for the appearance of that variable in the
current function.
How can I get the interprocedural use of a particular value? For example,
if a variable *a* is used as an argument in a function call *foo*, the USE
analysis
2013 Jan 20
1
[LLVMdev] Get the value of a GlobalVariable
Hi,
I am executing a C program using JIT. When the program exits, the control
comes back to my program which initiates the JIT. Now, I want to read
the value(not the LLVM nomenclature) of a global variable (not the LLVM
nomenclature). I am able to get the global variable, using the following
command:
GlobalVariable *my_global = Mod->getNamedGlobal("MY_GLOBAL");
I want to know the
2011 Jul 27
1
Interest in developement as a student
Hello.
I am an undergraduate student studying computer science and I am interested
in working in your Open Source projects.
I read about you from TeachingOpenSource.org.
I am, however, new to Open Source project development thus I am seeking a
mentor and an opportunity to present my skills and make valuable
contributions to your projects.
Thanking you.
--
Varun Agrawal
B.Tech-II
Computer
2012 Jan 28
2
finding rows in a matrix that match a vector
Hi,
Please excuse my ignorance, but I am just learning R (this is my very first
day programming in R) and having a really hard time figuring out how to do
the following:
I have a matrix that is 1000 row by 6 columns (named 'table.combos') and a 1
row by 6 column vector (named 'mine'). I want to find every row in
'table.combos' that equals 'mine' and then count
2003 Apr 18
1
MCMCpack gelman.plot and gelman.diag
Hi,
A question. When I run gelman.diag and gelman.plot
with mcmc lists obtained from MCMCregress, the results are following.
> post.R <- MCMCregress(Size~Age+Status, data = data, burnin = 5000, mcmc = 100000,
+ thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA,
+ b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
> post1.R <- MCMCregress(Size~Age+Status, data
2016 Aug 01
1
[LLVMdev] Interprocedural use-def chains
On Tue, Jul 26, 2016 at 3:05 PM Dounia Khaldi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Thanks for your reply.
>
> Yes, I was about to recurse over the use list of the argument in the
> called function. I did not want to pursue that because with this solution,
> I am going to implement the interprocedural part myself and was wondering
> if that was not already
2003 Apr 15
1
Installing RMySQL with MySQL-4.0.12 on Debian Linux
Hi,
I got error messeges when I try to install RMySQL. The version of
MySQL installed on my Debian is 4.0.12. Error messages were about the
location of /include and /lib of MySQL distribution. Final error
messages were;
usr/bin/ld: cannot find -lz
Any tips or advices?
Thanks
--
Sung-youn Kim
--------------
Dept. of Political Science
Stony Brook University (SUNY at Stony Brook)
Office:
2012 May 07
2
[LLVMdev] JIT support for inline asm on Linux
On 5/7/2012 12:21 AM, Bendersky, Eli wrote:
<snip>
>
> MCJIT is functional in trunk (and the 3.1 branch). While it doesn't include all the features of the old JIT quite yet, it's complete enough to pass all of JIT's execution tests on Linux and Mac OS X (no Windows yet). As for directions on how to enable it, follow the path of the "use-mcjit" flag passed to lli
2014 Sep 09
5
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
Hi Chandler,
Thanks for fixing the problem with the insertps mask.
Generally the new shuffle lowering looks promising, however there are
some cases where the codegen is now worse causing runtime performance
regressions in some of our internal codebase.
You have already mentioned how the new shuffle lowering is missing
some features; for example, you explicitly said that we currently lack
of
2014 Sep 30
2
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
Wow. Somehow, I forgot about vbroadcast and vpbroadcast. =[ Sorry about
that. I'll fix those.
On Fri, Sep 26, 2014 at 3:39 AM, Andrea Di Biagio <andrea.dibiagio at gmail.com
> wrote:
> Hi Chandler,
>
> Here is another test.
>
> When looking at the AVX codegen, I noticed that, when using the new
> shuffle lowering, we no longer emit a single vbroadcastss in the case
2012 May 08
0
[LLVMdev] JIT support for inline asm on Linux
> On 5/7/2012 12:21 AM, Bendersky, Eli wrote:
> <snip>
> >
> > MCJIT is functional in trunk (and the 3.1 branch). While it doesn't include all
> the features of the old JIT quite yet, it's complete enough to pass all of JIT's
> execution tests on Linux and Mac OS X (no Windows yet). As for directions
> on how to enable it, follow the path of the