Home | History | Annotate | Download | only in AArch64
      1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
      2 
      3 //------------------------------------------------------------------------------
      4 // Scalar Integer Saturating Shift Lef (Signed)
      5 //------------------------------------------------------------------------------
      6          sqshl b0, b1, b2
      7          sqshl h10, h11, h12
      8          sqshl s20, s21, s2
      9          sqshl d17, d31, d8
     10 
     11 // CHECK: sqshl b0, b1, b2        // encoding: [0x20,0x4c,0x22,0x5e]
     12 // CHECK: sqshl h10, h11, h12     // encoding: [0x6a,0x4d,0x6c,0x5e]
     13 // CHECK: sqshl s20, s21, s2      // encoding: [0xb4,0x4e,0xa2,0x5e]
     14 // CHECK: sqshl d17, d31, d8      // encoding: [0xf1,0x4f,0xe8,0x5e]
     15 
     16 //------------------------------------------------------------------------------
     17 // Scalar Integer Saturating Shift Lef (Unsigned)
     18 //------------------------------------------------------------------------------
     19          uqshl b0, b1, b2
     20          uqshl h10, h11, h12
     21          uqshl s20, s21, s2
     22          uqshl d17, d31, d8
     23 
     24 // CHECK: uqshl b0, b1, b2        // encoding: [0x20,0x4c,0x22,0x7e]
     25 // CHECK: uqshl h10, h11, h12     // encoding: [0x6a,0x4d,0x6c,0x7e]
     26 // CHECK: uqshl s20, s21, s2      // encoding: [0xb4,0x4e,0xa2,0x7e]
     27 // CHECK: uqshl d17, d31, d8      // encoding: [0xf1,0x4f,0xe8,0x7e]
     28 
     29 
     30