[llvm-bugs] [Bug 29061] New: Inline assembly: 1 byte passed with constraint S" moved into DH instead of ESI
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 19 11:03:38 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29061
Bug ID: 29061
Summary: Inline assembly: 1 byte passed with constraint S"
moved into DH instead of ESI
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: philipp.kloke at web.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
This code
void test(char c)
{
__asm__("" : : "S"(c));
}
creates this disassembled output:
00000000 <test>:
0: 56 push %esi
1: 8a 74 24 08 mov 0x8(%esp),%dh
5: 5e pop %esi
6: c3 ret
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160819/d12a20e7/attachment.html>
More information about the llvm-bugs
mailing list