1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=thumbv8.1m.main-arm-none-eabi -mattr=+mve -verify-machineinstrs %s -o - | FileCheck %s
3 ; RUN: llc -mtriple=thumbv8.1m.main-arm-none-eabi -mattr=+mve.fp -verify-machineinstrs %s -o - | FileCheck %s
5 define arm_aapcs_vfpcc <8 x i16> @mov_int16_511() {
6 ; CHECK-LABEL: mov_int16_511:
7 ; CHECK: @ %bb.0: @ %entry
8 ; CHECK-NEXT: vmvn.i16 q0, #0xfe00
11 ret <8 x i16> <i16 511, i16 511, i16 511, i16 511, i16 511, i16 511, i16 511, i16 511>
14 define arm_aapcs_vfpcc <8 x i16> @mov_int16_65281() {
15 ; CHECK-LABEL: mov_int16_65281:
16 ; CHECK: @ %bb.0: @ %entry
17 ; CHECK-NEXT: vmvn.i16 q0, #0xfe
20 ret <8 x i16> <i16 65281, i16 65281, i16 65281, i16 65281, i16 65281, i16 65281, i16 65281, i16 65281>
23 define arm_aapcs_vfpcc <4 x i32> @mov_int32_m7() {
24 ; CHECK-LABEL: mov_int32_m7:
25 ; CHECK: @ %bb.0: @ %entry
26 ; CHECK-NEXT: vmvn.i32 q0, #0x6
29 ret <4 x i32> <i32 -7, i32 -7, i32 -7, i32 -7>
32 define arm_aapcs_vfpcc <4 x i32> @mov_int32_m769() {
33 ; CHECK-LABEL: mov_int32_m769:
34 ; CHECK: @ %bb.0: @ %entry
35 ; CHECK-NEXT: vmvn.i32 q0, #0x300
38 ret <4 x i32> <i32 -769, i32 -769, i32 -769, i32 -769>
41 define arm_aapcs_vfpcc <4 x i32> @mov_int32_m262145() {
42 ; CHECK-LABEL: mov_int32_m262145:
43 ; CHECK: @ %bb.0: @ %entry
44 ; CHECK-NEXT: vmvn.i32 q0, #0x40000
47 ret <4 x i32> <i32 -262145, i32 -262145, i32 -262145, i32 -262145>
50 define arm_aapcs_vfpcc <4 x i32> @mov_int32_m134217729() {
51 ; CHECK-LABEL: mov_int32_m134217729:
52 ; CHECK: @ %bb.0: @ %entry
53 ; CHECK-NEXT: vmvn.i32 q0, #0x8000000
56 ret <4 x i32> <i32 -134217729, i32 -134217729, i32 -134217729, i32 -134217729>
59 define arm_aapcs_vfpcc <4 x i32> @mov_int32_4294902528() {
60 ; CHECK-LABEL: mov_int32_4294902528:
61 ; CHECK: @ %bb.0: @ %entry
62 ; CHECK-NEXT: vmvn.i32 q0, #0xfcff
65 ret <4 x i32> <i32 4294902528, i32 4294902528, i32 4294902528, i32 4294902528>
68 define arm_aapcs_vfpcc <4 x i32> @mov_int32_4278386688() {
69 ; CHECK-LABEL: mov_int32_4278386688:
70 ; CHECK: @ %bb.0: @ %entry
71 ; CHECK-NEXT: adr r0, .LCPI7_0
72 ; CHECK-NEXT: vldrw.u32 q0, [r0]
74 ; CHECK-NEXT: .p2align 4
75 ; CHECK-NEXT: @ %bb.1:
76 ; CHECK-NEXT: .LCPI7_0:
77 ; CHECK-NEXT: .long 4278386688 @ double -6.5147775434702224E+303
78 ; CHECK-NEXT: .long 4278386688
79 ; CHECK-NEXT: .long 4278386688 @ double -6.5147775434702224E+303
80 ; CHECK-NEXT: .long 4278386688
82 ret <4 x i32> <i32 4278386688, i32 4278386688, i32 4278386688, i32 4278386688>