search for: 8f2c997b

Displaying 3 results from an estimated 3 matches for "8f2c997b".

2012 Aug 07
0
[LLVMdev] ARM eabi calling convention
On Aug 6, 2012, at 3:21 PM, Akira Hatanaka <ahatanak at gmail.com> wrote: > When I compile this program > > $ cat vararg1-main.c > > typedef struct { > double d; > } S0; > > S0 g1; > > void foo0(int a, ...); > > int main(int argc, char **argv) { > S0 s0 = { 2.0 }; > > foo0(1, s0); > > printf("%f\n", g1.d); >
2012 Aug 06
2
[LLVMdev] ARM eabi calling convention
When I compile this program *$ cat vararg1-main.c typedef struct { double d; } S0; S0 g1; void foo0(int a, ...); int main(int argc, char **argv) { S0 s0 = { 2.0 }; foo0(1, s0); printf("%f\n", g1.d); * * return 0; }* with this command, *$ clang -target arm-none-linux-gnueabi-gcc -ccc-clang-archs armv7 -emit-llvm vararg1-main.c -S -o vararg1-main.ll -O3* I get this
2012 Aug 07
2
[LLVMdev] ARM eabi calling convention
...gt; tail call arm_aapcscc void (i32, ...)* @foo0(i32 1, [2 x i32] %0) > nounwind > > > The load is 8-byte aligned. > > -bw > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120806/8f2c997b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: vararg1-main.c Type: text/x-csrc Size: 227 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120806/8f2c997b/attachment.c> -------------- next part ----...