mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 08:54:58 +00:00
the code tried to use "push", which doesn't exist for XMM registers.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72836 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
358 B
LLVM
13 lines
358 B
LLVM
; RUN: llvm-as < %s | llc -o %t1 -f
|
|
; RUN: grep "subq.*\\\$40, \\\%rsp" %t1
|
|
; RUN: grep "movaps \\\%xmm8, \\\(\\\%rsp\\\)" %t1
|
|
; RUN: grep "movaps \\\%xmm7, 16\\\(\\\%rsp\\\)" %t1
|
|
target triple = "x86_64-mingw64"
|
|
|
|
define i32 @a() nounwind {
|
|
entry:
|
|
tail call void asm sideeffect "", "~{xmm7},~{xmm8},~{dirflag},~{fpsr},~{flags}"() nounwind
|
|
ret i32 undef
|
|
}
|
|
|