[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AArch64 / neon-scalar-rounding-shift.s
blob6113e09af388a61544009c761c727d6a0847050a
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
4 //------------------------------------------------------------------------------
5 // Scalar Integer Rounding Shift Lef (Signed)
6 //------------------------------------------------------------------------------
7 srshl d17, d31, d8
9 // CHECK: srshl d17, d31, d8 // encoding: [0xf1,0x57,0xe8,0x5e]
11 //------------------------------------------------------------------------------
12 // Scalar Integer Rounding Shift Lef (Unsigned)
13 //------------------------------------------------------------------------------
14 urshl d17, d31, d8
16 // CHECK: urshl d17, d31, d8 // encoding: [0xf1,0x57,0xe8,0x7e]