brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · b09a589 Raw
29 lines · plain
1// RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s2 3//------------------------------------------------------------------------------4// Scalar Integer Saturating Rounding Shift Lef (Signed)5//------------------------------------------------------------------------------6         sqrshl b0, b1, b27         sqrshl h10, h11, h128         sqrshl s20, s21, s29         sqrshl d17, d31, d810 11// CHECK: sqrshl b0, b1, b2        // encoding: [0x20,0x5c,0x22,0x5e]12// CHECK: sqrshl h10, h11, h12     // encoding: [0x6a,0x5d,0x6c,0x5e]13// CHECK: sqrshl s20, s21, s2      // encoding: [0xb4,0x5e,0xa2,0x5e]14// CHECK: sqrshl d17, d31, d8      // encoding: [0xf1,0x5f,0xe8,0x5e]15 16//------------------------------------------------------------------------------17// Scalar Integer Saturating Rounding Shift Lef (Unsigned)18//------------------------------------------------------------------------------19         uqrshl b0, b1, b220         uqrshl h10, h11, h1221         uqrshl s20, s21, s222         uqrshl d17, d31, d823 24// CHECK: uqrshl b0, b1, b2        // encoding: [0x20,0x5c,0x22,0x7e]25// CHECK: uqrshl h10, h11, h12     // encoding: [0x6a,0x5d,0x6c,0x7e]26// CHECK: uqrshl s20, s21, s2      // encoding: [0xb4,0x5e,0xa2,0x7e]27// CHECK: uqrshl d17, d31, d8      // encoding: [0xf1,0x5f,0xe8,0x7e]28 29