[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / PowerPC / ppc64-encoding-p8vector.s
blob657b7378fb48fe7384b2f9b988144474c702eb87
1 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
2 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
4 # CHECK-BE: vpksdss 2, 3, 4 # encoding: [0x10,0x43,0x25,0xce]
5 # CHECK-LE: vpksdss 2, 3, 4 # encoding: [0xce,0x25,0x43,0x10]
6 vpksdss 2, 3, 4
8 # CHECK-BE: vpksdus 2, 3, 4 # encoding: [0x10,0x43,0x25,0x4e]
9 # CHECK-LE: vpksdus 2, 3, 4 # encoding: [0x4e,0x25,0x43,0x10]
10 vpksdus 2, 3, 4
12 # CHECK-BE: vpkudus 2, 3, 4 # encoding: [0x10,0x43,0x24,0xce]
13 # CHECK-LE: vpkudus 2, 3, 4 # encoding: [0xce,0x24,0x43,0x10]
14 vpkudus 2, 3, 4
16 # CHECK-BE: vpkudum 2, 3, 4 # encoding: [0x10,0x43,0x24,0x4e]
17 # CHECK-LE: vpkudum 2, 3, 4 # encoding: [0x4e,0x24,0x43,0x10]
18 vpkudum 2, 3, 4
20 # CHECK-BE: vupkhsw 2, 3 # encoding: [0x10,0x40,0x1e,0x4e]
21 # CHECK-LE: vupkhsw 2, 3 # encoding: [0x4e,0x1e,0x40,0x10]
22 vupkhsw 2, 3
24 # CHECK-BE: vupklsw 2, 3 # encoding: [0x10,0x40,0x1e,0xce]
25 # CHECK-LE: vupklsw 2, 3 # encoding: [0xce,0x1e,0x40,0x10]
26 vupklsw 2, 3