1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/ARM/vfp-aliases.s
Saleem Abdulrasool b3b5b0ab09 ARM IAS: account for predicated pre-UAL mnemonics
Checking the trailing letter of the mnemonic is insufficient.  Be more thorough
in the scanning of the instruction to ensure that we correctly work with the
predicated mnemonics.

llvm-svn: 198235
2013-12-30 18:38:01 +00:00

63 lines
1.2 KiB
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
.syntax unified
.fpu vfp
.type aliases,%function
aliases:
fstmfdd sp!, {d0}
fstmead sp!, {d0}
fstmdbd sp!, {d0}
fstmiad sp!, {d0}
fstmfds sp!, {s0}
fstmeas sp!, {s0}
fstmdbs sp!, {s0}
fstmias sp!, {s0}
fldmias sp!, {s0}
fldmdbs sp!, {s0}
fldmeas sp!, {s0}
fldmfds sp!, {s0}
fldmiad sp!, {d0}
fldmdbd sp!, {d0}
fldmead sp!, {d0}
fldmfdd sp!, {d0}
fstmeax sp!, {d0}
fldmfdx sp!, {d0}
fstmfdx sp!, {d0}
fldmeax sp!, {d0}
@ CHECK-LABEL: aliases
@ CHECK: vpush {d0}
@ CHECK: vstmia sp!, {d0}
@ CHECK: vpush {d0}
@ CHECK: vstmia sp!, {d0}
@ CHECK: vpush {s0}
@ CHECK: vstmia sp!, {s0}
@ CHECK: vpush {s0}
@ CHECK: vstmia sp!, {s0}
@ CHECK: vpop {s0}
@ CHECK: vldmdb sp!, {s0}
@ CHECK: vldmdb sp!, {s0}
@ CHECK: vpop {s0}
@ CHECK: vpop {d0}
@ CHECK: vldmdb sp!, {d0}
@ CHECK: vldmdb sp!, {d0}
@ CHECK: vpop {d0}
@ CHECK: fstmiax sp!, {d0}
@ CHECK: fldmiax sp!, {d0}
@ CHECK: fstmdbx sp!, {d0}
@ CHECK: fldmdbx sp!, {d0}
fstmiaxcs r0, {d0}
fstmiaxhs r0, {d0}
fstmiaxls r0, {d0}
fstmiaxvs r0, {d0}
@ CHECK: fstmiaxhs r0, {d0}
@ CHECK: fstmiaxhs r0, {d0}
@ CHECK: fstmiaxls r0, {d0}
@ CHECK: fstmiaxvs r0, {d0}