mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-22 19:38:40 +00:00
Another entry
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d62fa4d16
commit
4dfa85d1df
@ -1171,3 +1171,15 @@ _test:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
or use pxor (to make a zero vector) and shuffle (to insert it).
|
or use pxor (to make a zero vector) and shuffle (to insert it).
|
||||||
|
|
||||||
|
//===---------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
Bad codegen:
|
||||||
|
|
||||||
|
char foo(int x) { return x; }
|
||||||
|
|
||||||
|
_foo:
|
||||||
|
movl 4(%esp), %eax
|
||||||
|
shll $24, %eax
|
||||||
|
sarl $24, %eax
|
||||||
|
ret
|
||||||
|
Loading…
x
Reference in New Issue
Block a user