mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-21 03:32:29 +00:00
add some notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6dfa999c01
commit
bdde465bcf
@ -286,3 +286,27 @@ addressing modes.
|
||||
|
||||
When compiled with unsafemath enabled, "main" should enable SSE DAZ mode and
|
||||
other fast SSE modes.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
cd Regression/CodeGen/X86
|
||||
llvm-as < setuge.ll | llc -march=x86 -mcpu=yonah -enable-x86-sse
|
||||
|
||||
_cmp:
|
||||
subl $4, %esp
|
||||
1) leal 20(%esp), %eax
|
||||
movss 12(%esp), %xmm0
|
||||
1) leal 16(%esp), %ecx
|
||||
ucomiss 8(%esp), %xmm0
|
||||
cmovb %ecx, %eax
|
||||
2) movss (%eax), %xmm0
|
||||
2) movss %xmm0, (%esp)
|
||||
flds (%esp)
|
||||
addl $4, %esp
|
||||
ret
|
||||
|
||||
|
||||
1) These LEA's should be adds. This is tricky because they are FrameIndex's
|
||||
before prolog-epilog rewriting.
|
||||
2) We shouldn't load into XMM regs only to store it back.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user