Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null %s 2>&1 \
      2 @ RUN:   | FileCheck %s
      3 
      4 	.syntax unified
      5 	.fpu vfp
      6 
      7 	.type aliases,%function
      8 aliases:
      9 	fstmfdd sp!, {s0}
     10 	fstmead sp!, {s0}
     11 	fstmdbd sp!, {s0}
     12 	fstmiad sp!, {s0}
     13 	fstmfds sp!, {d0}
     14 	fstmeas sp!, {d0}
     15 	fstmdbs sp!, {d0}
     16 	fstmias sp!, {d0}
     17 
     18 	fldmias sp!, {d0}
     19 	fldmdbs sp!, {d0}
     20 	fldmeas sp!, {d0}
     21 	fldmfds sp!, {d0}
     22 	fldmiad sp!, {s0}
     23 	fldmdbd sp!, {s0}
     24 	fldmead sp!, {s0}
     25 	fldmfdd sp!, {s0}
     26 
     27 	fstmeax sp!, {s0}
     28 	fldmfdx sp!, {s0}
     29 
     30 	fstmfdx sp!, {s0}
     31 	fldmeax sp!, {s0}
     32 
     33 @ CHECK-LABEL: aliases
     34 @ CHECK: error: VFP/Neon double precision register expected
     35 @ CHECK:	fstmfdd sp!, {s0}
     36 @ CHECK:                     ^
     37 @ CHECK: error: VFP/Neon double precision register expected
     38 @ CHECK:	fstmead sp!, {s0}
     39 @ CHECK:                     ^
     40 @ CHECK: error: VFP/Neon double precision register expected
     41 @ CHECK:	fstmdbd sp!, {s0}
     42 @ CHECK:                     ^
     43 @ CHECK: error: VFP/Neon double precision register expected
     44 @ CHECK:	fstmiad sp!, {s0}
     45 @ CHECK:                     ^
     46 @ CHECK: error: VFP/Neon single precision register expected
     47 @ CHECK:	fstmfds sp!, {d0}
     48 @ CHECK:                     ^
     49 @ CHECK: error: VFP/Neon single precision register expected
     50 @ CHECK:	fstmeas sp!, {d0}
     51 @ CHECK:                     ^
     52 @ CHECK: error: VFP/Neon single precision register expected
     53 @ CHECK:	fstmdbs sp!, {d0}
     54 @ CHECK:                     ^
     55 @ CHECK: error: VFP/Neon single precision register expected
     56 @ CHECK:	fstmias sp!, {d0}
     57 @ CHECK:                     ^
     58 
     59 @ CHECK: error: VFP/Neon single precision register expected
     60 @ CHECK:	fldmias sp!, {d0}
     61 @ CHECK:                     ^
     62 @ CHECK: error: VFP/Neon single precision register expected
     63 @ CHECK:	fldmdbs sp!, {d0}
     64 @ CHECK:                     ^
     65 @ CHECK: error: VFP/Neon single precision register expected
     66 @ CHECK:	fldmeas sp!, {d0}
     67 @ CHECK:                     ^
     68 @ CHECK: error: VFP/Neon single precision register expected
     69 @ CHECK:	fldmfds sp!, {d0}
     70 @ CHECK:                     ^
     71 @ CHECK: error: VFP/Neon double precision register expected
     72 @ CHECK:	fldmiad sp!, {s0}
     73 @ CHECK:                     ^
     74 @ CHECK: error: VFP/Neon double precision register expected
     75 @ CHECK:	fldmdbd sp!, {s0}
     76 @ CHECK:                     ^
     77 @ CHECK: error: VFP/Neon double precision register expected
     78 @ CHECK:	fldmead sp!, {s0}
     79 @ CHECK:                     ^
     80 @ CHECK: error: VFP/Neon double precision register expected
     81 @ CHECK:	fldmfdd sp!, {s0}
     82 @ CHECK:                     ^
     83 
     84 @ CHECK: error: VFP/Neon double precision register expected
     85 @ CHECK:	fstmeax sp!, {s0}
     86 @ CHECK:                     ^
     87 @ CHECK: error: VFP/Neon double precision register expected
     88 @ CHECK:	fldmfdx sp!, {s0}
     89 @ CHECK:                     ^
     90 
     91 @ CHECK: error: VFP/Neon double precision register expected
     92 @ CHECK:	fstmfdx sp!, {s0}
     93 @ CHECK:                     ^
     94 @ CHECK: error: VFP/Neon double precision register expected
     95 @ CHECK:	fldmeax sp!, {s0}
     96 @ CHECK:                     ^
     97 
     98 	fstmiaxcs r0, {s0}
     99 	fstmiaxhs r0, {s0}
    100 	fstmiaxls r0, {s0}
    101 	fstmiaxvs r0, {s0}
    102 @ CHECK: error: VFP/Neon double precision register expected
    103 @ CHECK: 	fstmiaxcs r0, {s0}
    104 @ CHECK:                      ^
    105 @ CHECK: error: VFP/Neon double precision register expected
    106 @ CHECK: 	fstmiaxhs r0, {s0}
    107 @ CHECK:                      ^
    108 @ CHECK: error: VFP/Neon double precision register expected
    109 @ CHECK: 	fstmiaxls r0, {s0}
    110 @ CHECK:                      ^
    111 @ CHECK: error: VFP/Neon double precision register expected
    112 @ CHECK: 	fstmiaxvs r0, {s0}
    113 @ CHECK:                      ^
    114 
    115