1// RUN: llvm-mc -triple x86_64-unknown-unknown -show-encoding %s | FileCheck %s 2// some AMX instruction must use SIB. 3 4// CHECK: tdpbssd %tmm4, %tmm5, %tmm6 5// CHECK: encoding: [0xc4,0xe2,0x5b,0x5e,0xf5] 6 tdpbssd %tmm4, %tmm5, %tmm6 7 8// CHECK: tdpbssd %tmm1, %tmm2, %tmm3 9// CHECK: encoding: [0xc4,0xe2,0x73,0x5e,0xda] 10 tdpbssd %tmm1, %tmm2, %tmm3 11 12// CHECK: tdpbsud %tmm4, %tmm5, %tmm6 13// CHECK: encoding: [0xc4,0xe2,0x5a,0x5e,0xf5] 14 tdpbsud %tmm4, %tmm5, %tmm6 15 16// CHECK: tdpbsud %tmm1, %tmm2, %tmm3 17// CHECK: encoding: [0xc4,0xe2,0x72,0x5e,0xda] 18 tdpbsud %tmm1, %tmm2, %tmm3 19 20// CHECK: tdpbusd %tmm4, %tmm5, %tmm6 21// CHECK: encoding: [0xc4,0xe2,0x59,0x5e,0xf5] 22 tdpbusd %tmm4, %tmm5, %tmm6 23 24// CHECK: tdpbusd %tmm1, %tmm2, %tmm3 25// CHECK: encoding: [0xc4,0xe2,0x71,0x5e,0xda] 26 tdpbusd %tmm1, %tmm2, %tmm3 27 28// CHECK: tdpbuud %tmm4, %tmm5, %tmm6 29// CHECK: encoding: [0xc4,0xe2,0x58,0x5e,0xf5] 30 tdpbuud %tmm4, %tmm5, %tmm6 31 32// CHECK: tdpbuud %tmm1, %tmm2, %tmm3 33// CHECK: encoding: [0xc4,0xe2,0x70,0x5e,0xda] 34 tdpbuud %tmm1, %tmm2, %tmm3 35 36// CHECK: tdpbssd %tmm4, %tmm5, %tmm6 37// CHECK: encoding: [0xc4,0xe2,0x5b,0x5e,0xf5] 38 tdpbssd %tmm4, %tmm5, %tmm6 39 40// CHECK: tdpbssd %tmm1, %tmm2, %tmm3 41// CHECK: encoding: [0xc4,0xe2,0x73,0x5e,0xda] 42 tdpbssd %tmm1, %tmm2, %tmm3 43 44// CHECK: tdpbsud %tmm4, %tmm5, %tmm6 45// CHECK: encoding: [0xc4,0xe2,0x5a,0x5e,0xf5] 46 tdpbsud %tmm4, %tmm5, %tmm6 47 48// CHECK: tdpbsud %tmm1, %tmm2, %tmm3 49// CHECK: encoding: [0xc4,0xe2,0x72,0x5e,0xda] 50 tdpbsud %tmm1, %tmm2, %tmm3 51 52// CHECK: tdpbusd %tmm4, %tmm5, %tmm6 53// CHECK: encoding: [0xc4,0xe2,0x59,0x5e,0xf5] 54 tdpbusd %tmm4, %tmm5, %tmm6 55 56// CHECK: tdpbusd %tmm1, %tmm2, %tmm3 57// CHECK: encoding: [0xc4,0xe2,0x71,0x5e,0xda] 58 tdpbusd %tmm1, %tmm2, %tmm3 59 60// CHECK: tdpbuud %tmm4, %tmm5, %tmm6 61// CHECK: encoding: [0xc4,0xe2,0x58,0x5e,0xf5] 62 tdpbuud %tmm4, %tmm5, %tmm6 63 64// CHECK: tdpbuud %tmm1, %tmm2, %tmm3 65// CHECK: encoding: [0xc4,0xe2,0x70,0x5e,0xda] 66 tdpbuud %tmm1, %tmm2, %tmm3 67 68// CHECK: tdpbssd %tmm4, %tmm5, %tmm6 69// CHECK: encoding: [0xc4,0xe2,0x5b,0x5e,0xf5] 70 tdpbssd %tmm4, %tmm5, %tmm6 71 72// CHECK: tdpbssd %tmm1, %tmm2, %tmm3 73// CHECK: encoding: [0xc4,0xe2,0x73,0x5e,0xda] 74 tdpbssd %tmm1, %tmm2, %tmm3 75 76// CHECK: tdpbsud %tmm4, %tmm5, %tmm6 77// CHECK: encoding: [0xc4,0xe2,0x5a,0x5e,0xf5] 78 tdpbsud %tmm4, %tmm5, %tmm6 79 80// CHECK: tdpbsud %tmm1, %tmm2, %tmm3 81// CHECK: encoding: [0xc4,0xe2,0x72,0x5e,0xda] 82 tdpbsud %tmm1, %tmm2, %tmm3 83 84// CHECK: tdpbusd %tmm4, %tmm5, %tmm6 85// CHECK: encoding: [0xc4,0xe2,0x59,0x5e,0xf5] 86 tdpbusd %tmm4, %tmm5, %tmm6 87 88// CHECK: tdpbusd %tmm1, %tmm2, %tmm3 89// CHECK: encoding: [0xc4,0xe2,0x71,0x5e,0xda] 90 tdpbusd %tmm1, %tmm2, %tmm3 91 92// CHECK: tdpbuud %tmm4, %tmm5, %tmm6 93// CHECK: encoding: [0xc4,0xe2,0x58,0x5e,0xf5] 94 tdpbuud %tmm4, %tmm5, %tmm6 95 96// CHECK: tdpbuud %tmm1, %tmm2, %tmm3 97// CHECK: encoding: [0xc4,0xe2,0x70,0x5e,0xda] 98 tdpbuud %tmm1, %tmm2, %tmm3 99 100// CHECK: tdpbssd %tmm4, %tmm5, %tmm6 101// CHECK: encoding: [0xc4,0xe2,0x5b,0x5e,0xf5] 102 tdpbssd %tmm4, %tmm5, %tmm6 103 104// CHECK: tdpbssd %tmm1, %tmm2, %tmm3 105// CHECK: encoding: [0xc4,0xe2,0x73,0x5e,0xda] 106 tdpbssd %tmm1, %tmm2, %tmm3 107 108// CHECK: tdpbsud %tmm4, %tmm5, %tmm6 109// CHECK: encoding: [0xc4,0xe2,0x5a,0x5e,0xf5] 110 tdpbsud %tmm4, %tmm5, %tmm6 111 112// CHECK: tdpbsud %tmm1, %tmm2, %tmm3 113// CHECK: encoding: [0xc4,0xe2,0x72,0x5e,0xda] 114 tdpbsud %tmm1, %tmm2, %tmm3 115 116// CHECK: tdpbusd %tmm4, %tmm5, %tmm6 117// CHECK: encoding: [0xc4,0xe2,0x59,0x5e,0xf5] 118 tdpbusd %tmm4, %tmm5, %tmm6 119 120// CHECK: tdpbusd %tmm1, %tmm2, %tmm3 121// CHECK: encoding: [0xc4,0xe2,0x71,0x5e,0xda] 122 tdpbusd %tmm1, %tmm2, %tmm3 123 124// CHECK: tdpbuud %tmm4, %tmm5, %tmm6 125// CHECK: encoding: [0xc4,0xe2,0x58,0x5e,0xf5] 126 tdpbuud %tmm4, %tmm5, %tmm6 127 128// CHECK: tdpbuud %tmm1, %tmm2, %tmm3 129// CHECK: encoding: [0xc4,0xe2,0x70,0x5e,0xda] 130 tdpbuud %tmm1, %tmm2, %tmm3 131