1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; Test i128 in GPRs versus VRs.
4 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 -no-integrated-as | FileCheck %s
9 ; CHECK-NEXT: vgbm %v0, 0
11 ; CHECK-NEXT: blah %v1 %v0
13 ; CHECK-NEXT: vst %v1, 0(%r2), 3
15 %val = call i128 asm "blah $0 $1", "=&v,v" (i128 0)
22 ; CHECK-NEXT: vgbm %v4, 0
24 ; CHECK-NEXT: blah %v4
26 ; CHECK-NEXT: vst %v4, 0(%r2), 3
28 %val = call i128 asm "blah $0", "={v4},0" (i128 0)
35 ; CHECK-NEXT: lghi %r0, 0
36 ; CHECK-NEXT: lgr %r1, %r0
38 ; CHECK-NEXT: blah %r4 %r0
40 ; CHECK-NEXT: stg %r5, 8(%r2)
41 ; CHECK-NEXT: stg %r4, 0(%r2)
43 %val = call i128 asm "blah $0 $1", "=&r,r" (i128 0)
50 ; CHECK-NEXT: stmg %r8, %r15, 64(%r15)
51 ; CHECK-NEXT: .cfi_offset %r8, -96
52 ; CHECK-NEXT: .cfi_offset %r9, -88
53 ; CHECK-NEXT: .cfi_offset %r15, -40
54 ; CHECK-NEXT: lghi %r8, 0
55 ; CHECK-NEXT: lgr %r9, %r8
57 ; CHECK-NEXT: blah %r8
59 ; CHECK-NEXT: stg %r9, 8(%r2)
60 ; CHECK-NEXT: stg %r8, 0(%r2)
61 ; CHECK-NEXT: lmg %r8, %r15, 64(%r15)
63 %val = call i128 asm "blah $0", "={r8},0" (i128 0)