search for: salamat

Displaying 14 results from an estimated 14 matches for "salamat".

2007 May 09
3
[LLVMdev] Compiling glibc on Linux
...d we'll tell you how it > can be > done. Coming at it from the "llvmc doesn't work" angle, doesn't > help us > solve your actual problem (because we don't know what it is). > > Thanks, > > Reid. > > On Wed, 2007-05-09 at 00:08 -0700, Babak Salamat wrote: >> Thank you Chris. >> >> Actually, I have changed the stack organization in the "llc" source >> codes for x86 target. Thus, I need libraries compiled with the new >> stack organization. If I use llvm-gcc (and apparently also llvmc), >> llc will...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
...call llvm-gcc to compile to bc file and then call llc to compile to native assembly, but apparently this doesn't happen. Do you know of any possible ways to involve llc in compilation of libraries? --Babak On May 8, 2007, at 11:33 PM, Chris Lattner wrote: > On Tue, 8 May 2007, Babak Salamat wrote: >> Yes, I have built and installed llvm-gcc and "llvm-gcc --print-prog- >> name=cc1" return the correct path for cc1, so I assume its path is >> set correctly in the config files, but I haven't installed config >> files separately. Do I need to do that?...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
...; > Did you build llvm-gcc? Did you check the paths in the "c" config > file? > Did you install the config files? > > All of these things need to be done in order for the standard config > file to work. > > Reid. > > On Tue, 2007-05-08 at 18:40 -0700, Babak Salamat wrote: >> Hi, >> >> I am trying to compile glibc on Linux using llvm. I need to do this >> for a research project. >> The problem is that llvmc doesn't work, and I guess I have to set >> CC=llvmc to get the glic compiled. For some reason llvmc complains &gt...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
On Wed, 2007-05-09 at 13:38 -0700, Babak Salamat wrote: > I am convinced to use llvm-gcc. As I mentioned in my previous email, > I have changed native code generation in llc to generate code with a > different stack organization. In order to have working binaries, the > libraries must be compiled with the new tool and have the s...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
...ribe what you're trying to do in more detail and we'll tell you how it can be done. Coming at it from the "llvmc doesn't work" angle, doesn't help us solve your actual problem (because we don't know what it is). Thanks, Reid. On Wed, 2007-05-09 at 00:08 -0700, Babak Salamat wrote: > Thank you Chris. > > Actually, I have changed the stack organization in the "llc" source > codes for x86 target. Thus, I need libraries compiled with the new > stack organization. If I use llvm-gcc (and apparently also llvmc), > llc will not be invoked. I...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
On Tue, 8 May 2007, Babak Salamat wrote: > Yes, I have built and installed llvm-gcc and "llvm-gcc --print-prog- > name=cc1" return the correct path for cc1, so I assume its path is > set correctly in the config files, but I haven't installed config > files separately. Do I need to do that? Is there any doc...
2007 May 09
1
[LLVMdev] Compiling glibc on Linux
Reid and Bill, Thank you very much for your helpful comments. Your comments helped me find out what part of my work was wrong that my changes were not effective in llvm-gcc. Thank you again, Babak On May 9, 2007, at 1:57 PM, Reid Spencer wrote: > On Wed, 2007-05-09 at 13:38 -0700, Babak Salamat wrote: >> I am convinced to use llvm-gcc. As I mentioned in my previous email, >> I have changed native code generation in llc to generate code with a >> different stack organization. In order to have working binaries, the >> libraries must be compiled with the new tool and...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
...ve tested including llvm-gcc work without any problem. First, I appreciate it if you let me know what can cause this problem and second, tell me if you think I have any chance to compile glibc using LLVM. Thank you, Babak --------------------------------------------------------------- Babak Salamat PhD Student Department of Computer Science School of Information and Computer Sciences University of California, Irvine email: bsalamat at uci.edu web: www.ics.uci.edu/~bsalamat ---------------------------------------------------------------
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
...should be able to get it to work with llvm-gcc. Did you build llvm-gcc? Did you check the paths in the "c" config file? Did you install the config files? All of these things need to be done in order for the standard config file to work. Reid. On Tue, 2007-05-08 at 18:40 -0700, Babak Salamat wrote: > Hi, > > I am trying to compile glibc on Linux using llvm. I need to do this > for a research project. > The problem is that llvmc doesn't work, and I guess I have to set > CC=llvmc to get the glic compiled. For some reason llvmc complains > that it cannot...
2007 Apr 24
0
[LLVMdev] (no subject)
...ne option to control stack frame size? If you must do it, it should be separate from the general mechanism. You can add a couple of special instructions that are "flagged" to the CALLSEQ nodes that will be emitted as stack inc / dec code. Evan On Apr 24, 2007, at 12:59 PM, Babak Salamat wrote: > > Hello, > > I am trying to add an instruction before each function call to add/ > subtract the stack pointer by a value specified at the command line. > I wonder if I can do that during lowering. For example, in > X86TargetLowering::LowerCALL. I appreciate it if you...
2007 Apr 24
2
[LLVMdev] (no subject)
Hello, I am trying to add an instruction before each function call to add/ subtract the stack pointer by a value specified at the command line. I wonder if I can do that during lowering. For example, in X86TargetLowering::LowerCALL. I appreciate it if you give me some hints how and where I can do that. Thank you, Babak
2007 Jun 08
2
[LLVMdev] Bitwidth of Machine Instructions
Hello, I am wondering if there is any way to figure out bitwidth of Machine Instructions. I see that ValueType information is available for nodes of DAG, but I couldn't find similar info for Machine Instructions. I particularly need this information for x86 target. I appreciate your help and comments in this regard. Thank you, Babak
2007 Jun 08
0
[LLVMdev] Bitwidth of Machine Instructions
On Fri, 8 Jun 2007, Babak Salamat wrote: > I am wondering if there is any way to figure out bitwidth of Machine > Instructions. I see that ValueType information is available for nodes > of DAG, but I couldn't find similar info for Machine Instructions. I > particularly need this information for x86 target. > I ap...
2007 Jun 08
1
[LLVMdev] Bitwidth of Machine Instructions
On Jun 8, 2007, at 10:05 AM, Chris Lattner wrote: > On Fri, 8 Jun 2007, Babak Salamat wrote: >> I am wondering if there is any way to figure out bitwidth of Machine >> Instructions. I see that ValueType information is available for nodes >> of DAG, but I couldn't find similar info for Machine Instructions. I >> particularly need this information for x86 t...