similar to: [LLVMdev] Function permutation at IR bytecode level

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Function permutation at IR bytecode level"

2013 Feb 25
2
[LLVMdev] Queries regarding function's arguments data type
Hi all, I am working on my Master's project in security and I am trying to iterate over the argument list of the function. Basically I need to do following things : 1. Check data type of each argument of the argument list of the function. 2. Based on its data type like character array or integer array, pointer, int, char, take different action. 3. I have added following code to check its
2013 Feb 25
0
[LLVMdev] Queries regarding function's arguments data type
On 2/25/13 1:44 PM, teja tamboli wrote: > Hi all, > > I am working on my Master's project in security and I am trying to > iterate over the argument list of the function. Basically I need to do > following things : Interesting. Just out of curiosity, can you tell us what your project is about? > > 1. Check data type of each argument of the argument list of the
2013 Mar 13
2
[LLVMdev] Generating IR bytecode files of httpd source code
Hi, I want to compile apache httpd using LLVM compiler. However, I am interested in generating llvm bytecode files [.s or .ll] files along with its executables. I followed steps mentioned in link : http://stackoverflow.com/questions/13851661/compiling-apache-httpd-into-llvm-bytecode-using-clang However after following all instructions when I compile httpd with following options I get directly
2013 Mar 13
0
[LLVMdev] Generating IR bytecode files of httpd source code
On 3/12/13 7:16 PM, teja tamboli wrote: > Hi, > > I want to compile apache httpd using LLVM compiler. However, I am > interested in generating llvm bytecode files [.s or .ll] files along > with its executables. I followed steps mentioned in link : > http://stackoverflow.com/questions/13851661/compiling-apache-httpd-into-llvm-bytecode-using-clang > > However after
2009 Dec 29
2
[LLVMdev] Question to use inline assemble in X86
Hi everyone, I try to add an instruction to x86. The instruction is a multiply-add instruction MULADD A, B, C; //A = A + B * C. I use the instruction by inline assemble as below int x, y, z; ..... .... x = 0; asm("MULADD %0, %1, %2":"=r"(x):"0"(x), "r"(y), "r"(z)); ..... .... The backend does allocate registers %edx, %edi, %esi for x,y, z
2009 Dec 29
0
[LLVMdev] Question to use inline assemble in X86
On Dec 29, 2009, at 3:09 AM, Heyu Zhu wrote: > Hi everyone, > > I try to add an instruction to x86. The instruction is a multiply-add instruction > MULADD A, B, C; //A = A + B * C. > I use the instruction by inline assemble as below > > int x, y, z; > ..... .... > x = 0; > asm("MULADD %0, %1, %2":"=r"(x):"0"(x), "r"(y),
2003 May 20
2
mdct_backward with fused muladd?
Can anybody point me at any resources that would explain how to optimize mdct_backward for a cpu with a fused multiply-accumute unit? >From what I understand from responses to my older postings, Tremor's mdct_backward could be rewritten to take advantage of a muladd. My target machine can do either two-wide 32x32 + Accum(64) -> Accum(64) integer muladd or eight-wide 16x16 + Accum(32)
2013 Mar 08
2
[LLVMdev] Tool to convert to backend assembly instruction file
Hello, I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to .asm file. Basically assembly instruction file for my x86 backend. I think so we can use llvm-objdump. However I am not able to figure out its exact options. Could you please tell me how to do that? -- Thanks, Teja -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Mar 08
1
[LLVMdev] Tool to convert to backend assembly instruction file "llc"
Teja, I just checked my version of llc to make sure it worked on arm and x86_64 respectively. The website llvm.org hosts a manual page for this tool at http://llvm.org/docs/CommandGuide/llc.html. I think this tool from the ample LLVM armory will accomplish what you are looking to do. All the best in your endeavors, Shaun Shaun Hubbard On Mar 7, 2013, at 10:39 PM, teja tamboli
2012 Nov 19
1
[LLVMdev] Inserting dead code in IR byte code
Hi Duncan, I mean both. In order to generate random code, I have to add function definitions and also for robustness I have to call these functions from already existing functions. So, have to add calling type of instructions also in the existing function. In future I also have to change instructions for simple substitution meaning 'add a, b' can be done using 'sub a, 0' and
2014 Aug 07
2
[LLVMdev] FPOpFusion = Fast and Multiply-and-add combines
Hi Sanjay, You are right. I tried XL and gcc 4.8.2 for PPC and I also got multiply-and-add operations. I supported my statement on what I read in the gcc man page. -ffast-math is used in clang to set fp-contract to fast (default is standard) and in gcc it activates (among others) the flag -funsafe-math-optimizations whose description includes: "Allow optimizations for floating-point
2013 Mar 08
0
[LLVMdev] Tool to convert to backend assembly instruction file
Teja, Your mention of .s being bytecode confuses me, but if you're asking how to lower a bitcode (.bc) or IR file (.ll) to assembly (.s) than llc is the tool you are looking for. llc -O2 path/to/bitcode/input.bc -o output.s -Chris On Mar 7, 2013, at 10:39 PM, teja tamboli wrote: > Hello, > > I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to
2017 Jun 13
1
[Mesa-dev] [RFC 0/9] Add precise/invariant semantics to TGSI
Am 13.06.2017 um 02:05 schrieb Ilia Mirkin: > On Mon, Jun 12, 2017 at 7:57 PM, Roland Scheidegger <sroland at vmware.com> wrote: >> FWIW surely on nv50 you could keep a single mad instruction for umad >> (sad maybe too?). (I'm actually wondering if the hw really can't do >> unfused float multiply+add as a single instruction but I know next to >> nothing
2017 Jan 07
2
accelerating matrix multiply
I am using R to multiply some large (30k x 30k double) matrices on a 64 core machine (xeon phi). I added some timers to src/main/array.c to see where the time is going. All of the time is being spent in the matprod function, most of that time is spent in dgemm. 15 seconds is in matprod in some code that is checking if there are NaNs. > system.time (C <- B %*% A) nancheck: wall time
2023 Sep 06
2
LIBGUESTFS supported version
Hi Team, Am trying to install libguestfs in my redhat 8.2 version default its installing 1.38.4. Could you please help us with the installation of version 1.50 libguestfs (through command line in RHEL 8.2) and supported RHEL versions of 1.50. Regards, Teja K From: Teja Konapalli Sent: Tuesday, September 5, 2023 8:16 PM To: libguestfs at redhat.com Subject: LIBGUESTFS supported version Hi
2023 Sep 05
1
LIBGUESTFS supported version
Hi Team, Am trying to install libguestfs in my redhat 8.2 version default its installing 1.38.4. Could you please help us with the installation of version 1.50 libguestfs and supported RHEL versions. Regards, Teja K -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230905/2d59d029/attachment.htm>
2012 Nov 19
2
[LLVMdev] Inserting dead code in IR byte code
Hi all, I am working on my Master's project in security and for this I need to do following things : 1. I have a IR bytecode of the main program. I want to insert dead code from other source files (e.g. cygwin files or the Linux files) in main program's IR byte code. 2. In order to insert code, I can try following two ways : (i) I have observed that these IR bytecode files are just
2012 Oct 07
2
[LLVMdev] Inserting a function call using LLVM
Hi, I am new to LLVM and interested in using LLVM to work on a research project for my Master's degree. My idea is following - 1. I have a simple C program basic.c - #include <stdio.h> int main() { printf("Hello World"); return 0; } 2. I will generate IR byte code for this basic.c using - llvm-gcc -emit-llvm -S basic.c This will give me basic.s which has IR byte code
2012 Nov 19
0
[LLVMdev] Inserting dead code in IR byte code
Hi Teja, > I am working on my Master's project in security and for this I need to do > following things : > > 1. I have a IR bytecode of the main program. I want to insert dead code from > other source files (e.g. cygwin files or the Linux files) in main program's IR > byte code. do you mean adding additional functions? Or do you mean adding extra instructions to
2012 Oct 08
0
[LLVMdev] Inserting a function call using LLVM
Hi Teja, > I am new to LLVM and interested in using LLVM to work on a research project for > my Master's degree. > My idea is following - > > 1. I have a simple C program basic.c - > #include <stdio.h> > int main() { > printf("Hello World"); > return 0; > } > > 2. I will generate IR byte code for this basic.c using - > llvm-gcc