1 ; RUN: llc < %s -mtriple armv7-eabi -o - | FileCheck %s --check-prefixes=CHECK,CHECK-LE
2 ; RUN: llc < %s -mtriple armebv7-eabi -o - | FileCheck %s --check-prefixes=CHECK,CHECK-BE
5 ; CHECK-LE: vmov.i64 d0, #0xff00000000000000{{$}}
6 ; CHECK-BE: vmov.i64 d0, #0xff{{$}}
8 define arm_aapcs_vfpcc <8 x i8> @vmov_i8() {
9 ret <8 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 -1>
12 ; CHECK-LABEL: vmov_i16_a:
13 ; CHECK-LE: vmov.i64 d0, #0xffff000000000000{{$}}
14 ; CHECK-BE: vmov.i64 d0, #0xffff{{$}}
16 define arm_aapcs_vfpcc <4 x i16> @vmov_i16_a() {
17 ret <4 x i16> <i16 0, i16 0, i16 0, i16 -1>
20 ; CHECK-LABEL: vmov_i16_b:
21 ; CHECK-LE: vmov.i64 d0, #0xff000000000000{{$}}
22 ; CHECK-BE: vmov.i64 d0, #0xff{{$}}
24 define arm_aapcs_vfpcc <4 x i16> @vmov_i16_b() {
25 ret <4 x i16> <i16 0, i16 0, i16 0, i16 255>
28 ; CHECK-LABEL: vmov_i16_c:
29 ; CHECK-LE: vmov.i64 d0, #0xff00000000000000{{$}}
30 ; CHECK-BE: vmov.i64 d0, #0xff00{{$}}
32 define arm_aapcs_vfpcc <4 x i16> @vmov_i16_c() {
33 ret <4 x i16> <i16 0, i16 0, i16 0, i16 65280>
36 ; CHECK-LABEL: vmov_i32_a:
37 ; CHECK-LE: vmov.i64 d0, #0xffffffff00000000{{$}}
38 ; CHECK-BE: vmov.i64 d0, #0xffffffff{{$}}
40 define arm_aapcs_vfpcc <2 x i32> @vmov_i32_a() {
41 ret <2 x i32> <i32 0, i32 -1>
44 ; CHECK-LABEL: vmov_i32_b:
45 ; CHECK-LE: vmov.i64 d0, #0xff00000000{{$}}
46 ; CHECK-BE: vmov.i64 d0, #0xff{{$}}
48 define arm_aapcs_vfpcc <2 x i32> @vmov_i32_b() {
49 ret <2 x i32> <i32 0, i32 255>
52 ; CHECK-LABEL: vmov_i32_c:
53 ; CHECK-LE: vmov.i64 d0, #0xff0000000000{{$}}
54 ; CHECK-BE: vmov.i64 d0, #0xff00{{$}}
56 define arm_aapcs_vfpcc <2 x i32> @vmov_i32_c() {
57 ret <2 x i32> <i32 0, i32 65280>
60 ; CHECK-LABEL: vmov_i32_d:
61 ; CHECK-LE: vmov.i64 d0, #0xff000000000000{{$}}
62 ; CHECK-BE: vmov.i64 d0, #0xff0000{{$}}
64 define arm_aapcs_vfpcc <2 x i32> @vmov_i32_d() {
65 ret <2 x i32> <i32 0, i32 16711680>
68 ; CHECK-LABEL: vmov_i32_e:
69 ; CHECK-LE: vmov.i64 d0, #0xff00000000000000{{$}}
70 ; CHECK-BE: vmov.i64 d0, #0xff000000{{$}}
72 define arm_aapcs_vfpcc <2 x i32> @vmov_i32_e() {
73 ret <2 x i32> <i32 0, i32 4278190080>
76 ; CHECK-LABEL: vmov_i64_a:
77 ; CHECK: vmov.i8 d0, #0xff{{$}}
79 define arm_aapcs_vfpcc <1 x i64> @vmov_i64_a() {
80 ret <1 x i64> <i64 -1>
83 ; CHECK-LABEL: vmov_i64_b:
84 ; CHECK: vmov.i64 d0, #0xffff00ff0000ff{{$}}
86 define arm_aapcs_vfpcc <1 x i64> @vmov_i64_b() {
87 ret <1 x i64> <i64 72056498804490495>