1// RUN: llvm-mc -output-asm-variant=1 -triple aarch64-apple-ios -mattr=+sha3,+sm4 -show-encoding < %s | FileCheck %s 2 3 sha512h.2d q0, q1, v2 4 sha512h2.2d q0, q1, v2 5 sha512su0.2d v11, v12 6 sha512su1.2d v11, v13, v14 7 eor3.16b v25, v12, v7, v2 8 rax1.2d v30, v29, v26 9 xar.2d v26, v21, v27, #63 10 bcax.16b v31, v26, v2, v1 11 12//CHECK: sha512h.2d q0, q1, v2 ; encoding: [0x20,0x80,0x62,0xce] 13//CHECK: sha512h2.2d q0, q1, v2 ; encoding: [0x20,0x84,0x62,0xce] 14//CHECK: sha512su0.2d v11, v12 ; encoding: [0x8b,0x81,0xc0,0xce] 15//CHECK: sha512su1.2d v11, v13, v14 ; encoding: [0xab,0x89,0x6e,0xce] 16//CHECK: eor3.16b v25, v12, v7, v2 ; encoding: [0x99,0x09,0x07,0xce] 17//CHECK: rax1.2d v30, v29, v26 ; encoding: [0xbe,0x8f,0x7a,0xce] 18//CHECK: xar.2d v26, v21, v27, #63 ; encoding: [0xba,0xfe,0x9b,0xce] 19//CHECK: bcax.16b v31, v26, v2, v1 ; encoding: [0x5f,0x07,0x22,0xce] 20 21 22 23 sm3ss1.4s v20, v23, v21, v22 24 sm3tt1a.4s v20, v23, v21[3] 25 sm3tt1b.4s v20, v23, v21[3] 26 sm3tt2a.4s v20, v23, v21[3] 27 sm3tt2b.4s v20, v23, v21[3] 28 sm3partw1.4s v30, v29, v26 29 sm3partw2.4s v30, v29, v26 30 sm4ekey.4s v11, v11, v19 31 sm4e.4s v2, v15 32 33// CHECK: sm3ss1.4s v20, v23, v21, v22 ; encoding: [0xf4,0x5a,0x55,0xce] 34// CHECK: sm3tt1a.4s v20, v23, v21[3] ; encoding: [0xf4,0xb2,0x55,0xce] 35// CHECK: sm3tt1b.4s v20, v23, v21[3] ; encoding: [0xf4,0xb6,0x55,0xce] 36// CHECK: sm3tt2a.4s v20, v23, v21[3] ; encoding: [0xf4,0xba,0x55,0xce] 37// CHECK: sm3tt2b.4s v20, v23, v21[3] ; encoding: [0xf4,0xbe,0x55,0xce] 38// CHECK: sm3partw1.4s v30, v29, v26 ; encoding: [0xbe,0xc3,0x7a,0xce] 39// CHECK: sm3partw2.4s v30, v29, v26 ; encoding: [0xbe,0xc7,0x7a,0xce] 40// CHECK: sm4ekey.4s v11, v11, v19 ; encoding: [0x6b,0xc9,0x73,0xce] 41// CHECK: sm4e.4s v2, v15 ; encoding: [0xe2,0x85,0xc0,0xce] 42