xref: /aosp_15_r20/external/llvm/test/MC/AArch64/neon-scalar-rounding-shift.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
2
3
4//------------------------------------------------------------------------------
5// Scalar Integer Rounding Shift Lef (Signed)
6//------------------------------------------------------------------------------
7         srshl d17, d31, d8
8
9// CHECK: srshl d17, d31, d8      // encoding: [0xf1,0x57,0xe8,0x5e]
10
11//------------------------------------------------------------------------------
12// Scalar Integer Rounding Shift Lef (Unsigned)
13//------------------------------------------------------------------------------
14         urshl d17, d31, d8
15
16// CHECK: urshl d17, d31, d8      // encoding: [0xf1,0x57,0xe8,0x7e]
17
18