search for: 09ret

Displaying 4 results from an estimated 4 matches for "09ret".

2016 Oct 03
3
ThinLTO: module-scope inline assembly blocks
...e: ``` module asm "\09.text" module asm "\09.globl\09foo" module asm "\09.align\0916, 0x90" module asm "\09.type\09foo, at function" module asm "foo:" module asm "\09movq %rdi, %rax" module asm "\09rorw $8, %ax" module asm "\09ret " module asm "\09.size\09foo, .-foo" module asm "" ``` The asm is the same as in the other module (where it _should_ be defined), and the linkage has not been changed. Thanks for the help, Johan On Mon, Oct 3, 2016 at 4:45 PM, Teresa Johnson <tejohnson at google.com...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...e. ``` module asm "\09.text" module asm "\09.globl\09foo" module asm "\09.align\0916, 0x90" module asm "\09.type\09foo, at function" module asm "foo:" module asm "\09movq %rdi, %rax" module asm "\09rorw $8, %ax" module asm "\09ret " module asm "\09.size\09foo, .-foo" module asm "" declare zeroext i16 @foo(i16 zeroext) #0 define i32 @_simplefunction() #1 { ret i32 1 } ``` Another module MAIN contains a function that calls ASM's `simplefunction()`. ``` define i32 @_Dmain({ i64, { i64, i8* }* }...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...ot; > module asm "\09.globl\09foo" > module asm "\09.align\0916, 0x90" > module asm "\09.type\09foo, at function" > module asm "foo:" > module asm "\09movq %rdi, %rax" > module asm "\09rorw $8, %ax" > module asm "\09ret " > module asm "\09.size\09foo, .-foo" > module asm "" > ``` > The asm is the same as in the other module (where it _should_ be defined), > and the linkage has not been changed. > > Thanks for the help, > Johan > > > On Mon, Oct 3, 2016 at...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
On Mon, Oct 3, 2016 at 4:27 PM, Teresa Johnson <tejohnson at google.com> wrote: > > > On Mon, Oct 3, 2016 at 6:53 AM, Johan Engelen via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi all, >> I am trying to add ThinLTO to the LDC compiler. It seems to work well >> on Mac (XCode 8) and Ubuntu (ld.gold + LLVMgold plugin). >> However, I am