mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-19 11:23:32 +00:00
Add support for the ARM 't' register constraint. And another testcase
for the 'x' register constraint. Part of rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,3 +68,23 @@ entry:
|
||||
%0 = tail call float asm "flds s15, $0", "=x"() nounwind
|
||||
ret float %0
|
||||
}
|
||||
|
||||
; Radar 9307836 & 9119939
|
||||
|
||||
define double @t7(double %y) nounwind ssp {
|
||||
entry:
|
||||
; CHECK: t7
|
||||
; CHECK: flds s15, d0
|
||||
%0 = tail call double asm "flds s15, $0", "=x"() nounwind
|
||||
ret double %0
|
||||
}
|
||||
|
||||
; Radar 9307836 & 9119939
|
||||
|
||||
define float @t8(float %y) nounwind ssp {
|
||||
entry:
|
||||
; CHECK: t8
|
||||
; CHECK: flds s15, s0
|
||||
%0 = tail call float asm "flds s15, $0", "=t"() nounwind
|
||||
ret float %0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user