1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s 2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpksdss 2, 3, 4 # encoding: [0x10,0x43,0x25,0xce] 5*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpksdss 2, 3, 4 # encoding: [0xce,0x25,0x43,0x10] 6*9880d681SAndroid Build Coastguard Worker vpksdss 2, 3, 4 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpksdus 2, 3, 4 # encoding: [0x10,0x43,0x25,0x4e] 9*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpksdus 2, 3, 4 # encoding: [0x4e,0x25,0x43,0x10] 10*9880d681SAndroid Build Coastguard Worker vpksdus 2, 3, 4 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkudus 2, 3, 4 # encoding: [0x10,0x43,0x24,0xce] 13*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkudus 2, 3, 4 # encoding: [0xce,0x24,0x43,0x10] 14*9880d681SAndroid Build Coastguard Worker vpkudus 2, 3, 4 15*9880d681SAndroid Build Coastguard Worker 16*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkudum 2, 3, 4 # encoding: [0x10,0x43,0x24,0x4e] 17*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkudum 2, 3, 4 # encoding: [0x4e,0x24,0x43,0x10] 18*9880d681SAndroid Build Coastguard Worker vpkudum 2, 3, 4 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupkhsw 2, 3 # encoding: [0x10,0x40,0x1e,0x4e] 21*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupkhsw 2, 3 # encoding: [0x4e,0x1e,0x40,0x10] 22*9880d681SAndroid Build Coastguard Worker vupkhsw 2, 3 23*9880d681SAndroid Build Coastguard Worker 24*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupklsw 2, 3 # encoding: [0x10,0x40,0x1e,0xce] 25*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupklsw 2, 3 # encoding: [0xce,0x1e,0x40,0x10] 26*9880d681SAndroid Build Coastguard Worker vupklsw 2, 3 27