|
From: | Matthew Keeter |
Subject: | Re: [Libjit] Basic float32 issue |
Date: | Sat, 16 Apr 2016 21:52:59 -0400 |
Digging a little deeper, the IR looks fine but the generated assembly is missing a data / bss section with float constants: Before compiling: function test() : float32 .L: return_float32(19.000000) ends_in_dead .L: .L: end After compiling: function test() : float32 /tmp/libjit-dump.o: file format mach-o-x86-64 Disassembly of section .text: 000000010413914c <.text>: 10413914c: 55 push %rbp 10413914d: 48 8b ec mov %rsp,%rbp 104139150: f3 0f 10 05 78 fe 00 movss 0xfe78(%rip),%xmm0 # 0x104148fd0 104139157: 00 104139158: 48 8b e5 mov %rbp,%rsp 10413915b: 5d pop %rbp 10413915c: c3 retq end In particular, note that movss 0xfe78(%rip),%xmm0 # 0x104148fd0 is pointing off into space. Does this ring any bells? Thanks, Matt On Apr 16, 2016, at 9:09 PM, Matthew Keeter <address@hidden> wrote: Hi all, |
[Prev in Thread] | Current Thread | [Next in Thread] |