1 ; Test loading of 128-bit constants in vector registers on z13
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
9 ; CHECK-NEXT: vgbm %v0, 0
10 ; CHECK-NEXT: vst %v0, 0(%r2), 3
15 ; Constant created using VBGM.
19 ; CHECK-NEXT: vgbm %v0, 1
20 ; CHECK-NEXT: vst %v0, 0(%r2), 3
25 ; Constant created using VREPIB.
29 ; CHECK-NEXT: vrepib %v0, 1
30 ; CHECK-NEXT: vst %v0, 0(%r2), 3
32 ret i128 1334440654591915542993625911497130241
35 ; Constant loaded from literal pool.
37 ; CHECK-LABEL: .LCPI3_0:
38 ; CHECK-NEXT: .quad 54210108624275221
39 ; CHECK-NEXT: .quad -5527149226598858752
42 ; CHECK-NEXT: larl %r1, .LCPI3_0
43 ; CHECK-NEXT: vl %v0, 0(%r1), 3
44 ; CHECK-NEXT: vst %v0, 0(%r2), 3
46 ret i128 1000000000000000000000000000000000000