Displaying 1 result from an estimated 1 matches for "_partialregisteroperationstestchar".
Did you mean:
partialregisteroperationstestchar
2011 Nov 24
2
[LLVMdev] x86 backend assembly - mov esp->reg
...char d)
{
return a*b+c*d;
}
When compiled for atom with clang in 32-bit mode the 8-bit variables in test use 32-bit registers:
...
movl %ecx, 8(%esp)
...
movl %ecx, 4(%esp)
...
movl %ecx, (%esp)
...
movl %eax, 12(%esp)
calll _PartialRegisterOperationsTestChar
However, the 8-bit variables in PartialRegisterOperationsTestChar use 8-bit registers:
_PartialRegisterOperationsTestChar: # @PartialRegisterOperationsTestChar
# BB#0: # %entry
movb 16(%esp), %dl
movb 8(%esp), %al
mulb 4(%esp)...