mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
This commit starts with a "git mv ARM64 AArch64" and continues out from there, renaming the C++ classes, intrinsics, and other target-local objects for consistency. "ARM64" test directories are also moved, and tests that began their life in ARM64 use an arm64 triple, those from AArch64 use an aarch64 triple. Both should be equivalent though. This finishes the AArch64 merge, and everyone should feel free to continue committing as normal now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209577 91177308-0d34-0410-b5e6-96231b3b80d8
54 lines
1.7 KiB
LLVM
54 lines
1.7 KiB
LLVM
; RUN: llc -mtriple=arm64-apple-ios < %s | FileCheck %s
|
|
;
|
|
; rdar://14075006
|
|
|
|
define void @odd() nounwind {
|
|
; CHECK-LABEL: odd:
|
|
; CHECK: stp d15, d14, [sp, #-144]!
|
|
; CHECK: stp d13, d12, [sp, #16]
|
|
; CHECK: stp d11, d10, [sp, #32]
|
|
; CHECK: stp d9, d8, [sp, #48]
|
|
; CHECK: stp x28, x27, [sp, #64]
|
|
; CHECK: stp x26, x25, [sp, #80]
|
|
; CHECK: stp x24, x23, [sp, #96]
|
|
; CHECK: stp x22, x21, [sp, #112]
|
|
; CHECK: stp x20, x19, [sp, #128]
|
|
; CHECK: movz x0, #0x2a
|
|
; CHECK: ldp x20, x19, [sp, #128]
|
|
; CHECK: ldp x22, x21, [sp, #112]
|
|
; CHECK: ldp x24, x23, [sp, #96]
|
|
; CHECK: ldp x26, x25, [sp, #80]
|
|
; CHECK: ldp x28, x27, [sp, #64]
|
|
; CHECK: ldp d9, d8, [sp, #48]
|
|
; CHECK: ldp d11, d10, [sp, #32]
|
|
; CHECK: ldp d13, d12, [sp, #16]
|
|
; CHECK: ldp d15, d14, [sp], #144
|
|
call void asm sideeffect "mov x0, #42", "~{x0},~{x19},~{x21},~{x23},~{x25},~{x27},~{d8},~{d10},~{d12},~{d14}"() nounwind
|
|
ret void
|
|
}
|
|
|
|
define void @even() nounwind {
|
|
; CHECK-LABEL: even:
|
|
; CHECK: stp d15, d14, [sp, #-144]!
|
|
; CHECK: stp d13, d12, [sp, #16]
|
|
; CHECK: stp d11, d10, [sp, #32]
|
|
; CHECK: stp d9, d8, [sp, #48]
|
|
; CHECK: stp x28, x27, [sp, #64]
|
|
; CHECK: stp x26, x25, [sp, #80]
|
|
; CHECK: stp x24, x23, [sp, #96]
|
|
; CHECK: stp x22, x21, [sp, #112]
|
|
; CHECK: stp x20, x19, [sp, #128]
|
|
; CHECK: movz x0, #0x2a
|
|
; CHECK: ldp x20, x19, [sp, #128]
|
|
; CHECK: ldp x22, x21, [sp, #112]
|
|
; CHECK: ldp x24, x23, [sp, #96]
|
|
; CHECK: ldp x26, x25, [sp, #80]
|
|
; CHECK: ldp x28, x27, [sp, #64]
|
|
; CHECK: ldp d9, d8, [sp, #48]
|
|
; CHECK: ldp d11, d10, [sp, #32]
|
|
; CHECK: ldp d13, d12, [sp, #16]
|
|
; CHECK: ldp d15, d14, [sp], #144
|
|
call void asm sideeffect "mov x0, #42", "~{x0},~{x20},~{x22},~{x24},~{x26},~{x28},~{d9},~{d11},~{d13},~{d15}"() nounwind
|
|
ret void
|
|
}
|