search for: aok_skip

Displaying 2 results from an estimated 2 matches for "aok_skip".

2019 Dec 09
4
IR inline assembly: the x86 Intel "offset" operator
Hi all, I'm trying to land (a rebased version of) http://llvm.org/D37461 - which should make it possible to handle x86 Intel assembly like mov eax, offset Foo::ptr + 1 (Currently, omitting the +1 works... but offset doesn't work in compound expressions.) I'm having trouble figuring out what inline assembly I can emit into the LLVM IR that will work properly. So far, the closest
2019 Dec 11
2
IR inline assembly: the x86 Intel "offset" operator
...ill produce the expected instruction sequence: > call void asm sideeffect "movl $0, %eax", > "i,~{eax},~{dirflag},~{fpsr},~{flags}"(i32* @"?Bar@@3HA") #1, !srcloc !3 > Which is what makes me think this is the way to go. > > It's consistent with the AOK_Skip rewrite we do today to skip the "offset" > text. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191211/ceea4d2f/attachment.html>