1 ; RUN: llc -verify-machineinstrs -ppc-vsr-nums-as-vr -ppc-asm-full-reg-names -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s
2 define signext i32 @foo(<4 x float> %__A) {
4 %0 = tail call { i32, <4 x float> } asm "xxsldwi ${1:x},${2:x},${2:x},3;\0Axscvspdp ${1:x},${1:x};\0Afctiw $1,$1;\0Amfvsrd $0,${1:x};\0A", "=r,=&^wa,^wa"(<4 x float> %__A)
5 %asmresult = extractvalue { i32, <4 x float> } %0, 0
8 ; CHECK: xxsldwi vs0, v2, v2, 3
9 ; CHECK: xscvspdp f0, f0
11 ; CHECK: mffprd r3, f0
15 define signext i32 @foo1(<4 x float> %__A) {
17 %0 = tail call { i32, <4 x float> } asm "xxsldwi ${1:x},${2:x},${2:x},3;\0Axscvspdp ${1:x},${1:x};\0Afctiw $1,$1;\0Amfvsrd $0,${1:x};\0A", "=r,=&^wi,^wa"(<4 x float> %__A)
18 %asmresult = extractvalue { i32, <4 x float> } %0, 0
22 ; CHECK: xxsldwi vs0, v2, v2, 3
23 ; CHECK: xscvspdp f0, f0
25 ; CHECK: mffprd r3, f0
30 define double @test() {
32 %0 = tail call double asm "mtvsrd ${0:x}, 1", "=^ws,~{f0},~{f1},~{f2},~{f3},~{f4},~{f5},~{f6},~{f7},~{f8},~{f9},~{f10},~{f11},~{f12},~{f13},~{f14}"()
35 ; CHECK: mtvsrd v2, r1