1// RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s 2 3// Check that the assembler can handle the documented syntax for AArch64 4 5//---------------------------------------------------------------------- 6// Vector Compare Mask Equal (Integer) 7//---------------------------------------------------------------------- 8 9 cmeq v0.8b, v15.8b, v17.8b 10 cmeq v1.16b, v31.16b, v8.16b 11 cmeq v15.4h, v16.4h, v17.4h 12 cmeq v5.8h, v6.8h, v7.8h 13 cmeq v29.2s, v27.2s, v28.2s 14 cmeq v9.4s, v7.4s, v8.4s 15 cmeq v3.2d, v31.2d, v21.2d 16 17// CHECK: cmeq v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x8d,0x31,0x2e] 18// CHECK: cmeq v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x8f,0x28,0x6e] 19// CHECK: cmeq v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x8e,0x71,0x2e] 20// CHECK: cmeq v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x8c,0x67,0x6e] 21// CHECK: cmeq v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x8f,0xbc,0x2e] 22// CHECK: cmeq v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x8c,0xa8,0x6e] 23// CHECK: cmeq v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x8f,0xf5,0x6e] 24 25//---------------------------------------------------------------------- 26// Vector Compare Mask Higher or Same (Unsigned Integer) 27// Vector Compare Mask Less or Same (Unsigned Integer) 28// CMLS is alias for CMHS with operands reversed. 29//---------------------------------------------------------------------- 30 31 cmhs v0.8b, v15.8b, v17.8b 32 cmhs v1.16b, v31.16b, v8.16b 33 cmhs v15.4h, v16.4h, v17.4h 34 cmhs v5.8h, v6.8h, v7.8h 35 cmhs v29.2s, v27.2s, v28.2s 36 cmhs v9.4s, v7.4s, v8.4s 37 cmhs v3.2d, v31.2d, v21.2d 38 39 cmls v0.8b, v17.8b, v15.8b 40 cmls v1.16b, v8.16b, v31.16b 41 cmls v15.4h, v17.4h, v16.4h 42 cmls v5.8h, v7.8h, v6.8h 43 cmls v29.2s, v28.2s, v27.2s 44 cmls v9.4s, v8.4s, v7.4s 45 cmls v3.2d, v21.2d, v31.2d 46 47// CHECK: cmhs v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x3d,0x31,0x2e] 48// CHECK: cmhs v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x3f,0x28,0x6e] 49// CHECK: cmhs v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x3e,0x71,0x2e] 50// CHECK: cmhs v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x3c,0x67,0x6e] 51// CHECK: cmhs v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x3f,0xbc,0x2e] 52// CHECK: cmhs v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x3c,0xa8,0x6e] 53// CHECK: cmhs v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x3f,0xf5,0x6e] 54// CHECK: cmhs v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x3d,0x31,0x2e] 55// CHECK: cmhs v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x3f,0x28,0x6e] 56// CHECK: cmhs v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x3e,0x71,0x2e] 57// CHECK: cmhs v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x3c,0x67,0x6e] 58// CHECK: cmhs v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x3f,0xbc,0x2e] 59// CHECK: cmhs v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x3c,0xa8,0x6e] 60// CHECK: cmhs v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x3f,0xf5,0x6e] 61 62//---------------------------------------------------------------------- 63// Vector Compare Mask Greater Than or Equal (Integer) 64// Vector Compare Mask Less Than or Equal (Integer) 65// CMLE is alias for CMGE with operands reversed. 66//---------------------------------------------------------------------- 67 68 cmge v0.8b, v15.8b, v17.8b 69 cmge v1.16b, v31.16b, v8.16b 70 cmge v15.4h, v16.4h, v17.4h 71 cmge v5.8h, v6.8h, v7.8h 72 cmge v29.2s, v27.2s, v28.2s 73 cmge v9.4s, v7.4s, v8.4s 74 cmge v3.2d, v31.2d, v21.2d 75 76 cmle v0.8b, v17.8b, v15.8b 77 cmle v1.16b, v8.16b, v31.16b 78 cmle v15.4h, v17.4h, v16.4h 79 cmle v5.8h, v7.8h, v6.8h 80 cmle v29.2s, v28.2s, v27.2s 81 cmle v9.4s, v8.4s, v7.4s 82 cmle v3.2d, v21.2d, v31.2d 83 84// CHECK: cmge v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x3d,0x31,0x0e] 85// CHECK: cmge v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x3f,0x28,0x4e] 86// CHECK: cmge v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x3e,0x71,0x0e] 87// CHECK: cmge v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x3c,0x67,0x4e] 88// CHECK: cmge v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x3f,0xbc,0x0e] 89// CHECK: cmge v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x3c,0xa8,0x4e] 90// CHECK: cmge v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x3f,0xf5,0x4e] 91// CHECK: cmge v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x3d,0x31,0x0e] 92// CHECK: cmge v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x3f,0x28,0x4e] 93// CHECK: cmge v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x3e,0x71,0x0e] 94// CHECK: cmge v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x3c,0x67,0x4e] 95// CHECK: cmge v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x3f,0xbc,0x0e] 96// CHECK: cmge v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x3c,0xa8,0x4e] 97// CHECK: cmge v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x3f,0xf5,0x4e] 98 99//---------------------------------------------------------------------- 100// Vector Compare Mask Higher (Unsigned Integer) 101// Vector Compare Mask Lower (Unsigned Integer) 102// CMLO is alias for CMHI with operands reversed. 103//---------------------------------------------------------------------- 104 105 cmhi v0.8b, v15.8b, v17.8b 106 cmhi v1.16b, v31.16b, v8.16b 107 cmhi v15.4h, v16.4h, v17.4h 108 cmhi v5.8h, v6.8h, v7.8h 109 cmhi v29.2s, v27.2s, v28.2s 110 cmhi v9.4s, v7.4s, v8.4s 111 cmhi v3.2d, v31.2d, v21.2d 112 113 cmlo v0.8b, v17.8b, v15.8b 114 cmlo v1.16b, v8.16b, v31.16b 115 cmlo v15.4h, v17.4h, v16.4h 116 cmlo v5.8h, v7.8h, v6.8h 117 cmlo v29.2s, v28.2s, v27.2s 118 cmlo v9.4s, v8.4s, v7.4s 119 cmlo v3.2d, v21.2d, v31.2d 120 121// CHECK: cmhi v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x35,0x31,0x2e] 122// CHECK: cmhi v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x37,0x28,0x6e] 123// CHECK: cmhi v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x36,0x71,0x2e] 124// CHECK: cmhi v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x34,0x67,0x6e] 125// CHECK: cmhi v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x37,0xbc,0x2e] 126// CHECK: cmhi v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x34,0xa8,0x6e] 127// CHECK: cmhi v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x37,0xf5,0x6e] 128// CHECK: cmhi v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x35,0x31,0x2e] 129// CHECK: cmhi v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x37,0x28,0x6e] 130// CHECK: cmhi v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x36,0x71,0x2e] 131// CHECK: cmhi v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x34,0x67,0x6e] 132// CHECK: cmhi v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x37,0xbc,0x2e] 133// CHECK: cmhi v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x34,0xa8,0x6e] 134// CHECK: cmhi v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x37,0xf5,0x6e] 135 136//---------------------------------------------------------------------- 137// Vector Compare Mask Greater Than (Integer) 138// Vector Compare Mask Less Than (Integer) 139// CMLT is alias for CMGT with operands reversed. 140//---------------------------------------------------------------------- 141 142 cmgt v0.8b, v15.8b, v17.8b 143 cmgt v1.16b, v31.16b, v8.16b 144 cmgt v15.4h, v16.4h, v17.4h 145 cmgt v5.8h, v6.8h, v7.8h 146 cmgt v29.2s, v27.2s, v28.2s 147 cmgt v9.4s, v7.4s, v8.4s 148 cmgt v3.2d, v31.2d, v21.2d 149 150 cmlt v0.8b, v17.8b, v15.8b 151 cmlt v1.16b, v8.16b, v31.16b 152 cmlt v15.4h, v17.4h, v16.4h 153 cmlt v5.8h, v7.8h, v6.8h 154 cmlt v29.2s, v28.2s, v27.2s 155 cmlt v9.4s, v8.4s, v7.4s 156 cmlt v3.2d, v21.2d, v31.2d 157 158// CHECK: cmgt v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x35,0x31,0x0e] 159// CHECK: cmgt v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x37,0x28,0x4e] 160// CHECK: cmgt v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x36,0x71,0x0e] 161// CHECK: cmgt v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x34,0x67,0x4e] 162// CHECK: cmgt v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x37,0xbc,0x0e] 163// CHECK: cmgt v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x34,0xa8,0x4e] 164// CHECK: cmgt v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x37,0xf5,0x4e] 165// CHECK: cmgt v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x35,0x31,0x0e] 166// CHECK: cmgt v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x37,0x28,0x4e] 167// CHECK: cmgt v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x36,0x71,0x0e] 168// CHECK: cmgt v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x34,0x67,0x4e] 169// CHECK: cmgt v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x37,0xbc,0x0e] 170// CHECK: cmgt v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x34,0xa8,0x4e] 171// CHECK: cmgt v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x37,0xf5,0x4e] 172 173//---------------------------------------------------------------------- 174// Vector Compare Mask Bitwise Test (Integer) 175//---------------------------------------------------------------------- 176 177 cmtst v0.8b, v15.8b, v17.8b 178 cmtst v1.16b, v31.16b, v8.16b 179 cmtst v15.4h, v16.4h, v17.4h 180 cmtst v5.8h, v6.8h, v7.8h 181 cmtst v29.2s, v27.2s, v28.2s 182 cmtst v9.4s, v7.4s, v8.4s 183 cmtst v3.2d, v31.2d, v21.2d 184 185// CHECK: cmtst v0.8b, v15.8b, v17.8b // encoding: [0xe0,0x8d,0x31,0x0e] 186// CHECK: cmtst v1.16b, v31.16b, v8.16b // encoding: [0xe1,0x8f,0x28,0x4e] 187// CHECK: cmtst v15.4h, v16.4h, v17.4h // encoding: [0x0f,0x8e,0x71,0x0e] 188// CHECK: cmtst v5.8h, v6.8h, v7.8h // encoding: [0xc5,0x8c,0x67,0x4e] 189// CHECK: cmtst v29.2s, v27.2s, v28.2s // encoding: [0x7d,0x8f,0xbc,0x0e] 190// CHECK: cmtst v9.4s, v7.4s, v8.4s // encoding: [0xe9,0x8c,0xa8,0x4e] 191// CHECK: cmtst v3.2d, v31.2d, v21.2d // encoding: [0xe3,0x8f,0xf5,0x4e] 192 193//---------------------------------------------------------------------- 194// Vector Compare Mask Equal (Floating Point) 195//---------------------------------------------------------------------- 196 197 fcmeq v0.2s, v31.2s, v16.2s 198 fcmeq v4.4s, v7.4s, v15.4s 199 fcmeq v29.2d, v2.2d, v5.2d 200 201// CHECK: fcmeq v0.2s, v31.2s, v16.2s // encoding: [0xe0,0xe7,0x30,0x0e] 202// CHECK: fcmeq v4.4s, v7.4s, v15.4s // encoding: [0xe4,0xe4,0x2f,0x4e] 203// CHECK: fcmeq v29.2d, v2.2d, v5.2d // encoding: [0x5d,0xe4,0x65,0x4e] 204 205//---------------------------------------------------------------------- 206// Vector Compare Mask Greater Than Or Equal (Floating Point) 207// Vector Compare Mask Less Than Or Equal (Floating Point) 208// FCMLE is alias for FCMGE with operands reversed. 209//---------------------------------------------------------------------- 210 211 fcmge v31.4s, v29.4s, v28.4s 212 fcmge v3.2s, v8.2s, v12.2s 213 fcmge v17.2d, v15.2d, v13.2d 214 fcmle v31.4s, v28.4s, v29.4s 215 fcmle v3.2s, v12.2s, v8.2s 216 fcmle v17.2d, v13.2d, v15.2d 217 218// CHECK: fcmge v31.4s, v29.4s, v28.4s // encoding: [0xbf,0xe7,0x3c,0x6e] 219// CHECK: fcmge v3.2s, v8.2s, v12.2s // encoding: [0x03,0xe5,0x2c,0x2e] 220// CHECK: fcmge v17.2d, v15.2d, v13.2d // encoding: [0xf1,0xe5,0x6d,0x6e] 221// CHECK: fcmge v31.4s, v29.4s, v28.4s // encoding: [0xbf,0xe7,0x3c,0x6e] 222// CHECK: fcmge v3.2s, v8.2s, v12.2s // encoding: [0x03,0xe5,0x2c,0x2e] 223// CHECK: fcmge v17.2d, v15.2d, v13.2d // encoding: [0xf1,0xe5,0x6d,0x6e] 224 225//---------------------------------------------------------------------- 226// Vector Compare Mask Greater Than (Floating Point) 227// Vector Compare Mask Less Than (Floating Point) 228// FCMLT is alias for FCMGT with operands reversed. 229//---------------------------------------------------------------------- 230 231 fcmgt v0.2s, v31.2s, v16.2s 232 fcmgt v4.4s, v7.4s, v15.4s 233 fcmgt v29.2d, v2.2d, v5.2d 234 fcmlt v0.2s, v16.2s, v31.2s 235 fcmlt v4.4s, v15.4s, v7.4s 236 fcmlt v29.2d, v5.2d, v2.2d 237 238// CHECK: fcmgt v0.2s, v31.2s, v16.2s // encoding: [0xe0,0xe7,0xb0,0x2e] 239// CHECK: fcmgt v4.4s, v7.4s, v15.4s // encoding: [0xe4,0xe4,0xaf,0x6e] 240// CHECK: fcmgt v29.2d, v2.2d, v5.2d // encoding: [0x5d,0xe4,0xe5,0x6e] 241// CHECK: fcmgt v0.2s, v31.2s, v16.2s // encoding: [0xe0,0xe7,0xb0,0x2e] 242// CHECK: fcmgt v4.4s, v7.4s, v15.4s // encoding: [0xe4,0xe4,0xaf,0x6e] 243// CHECK: fcmgt v29.2d, v2.2d, v5.2d // encoding: [0x5d,0xe4,0xe5,0x6e] 244 245 246//---------------------------------------------------------------------- 247// Vector Compare Mask Equal to Zero (Integer) 248//---------------------------------------------------------------------- 249 250 cmeq v0.8b, v15.8b, #0 251 cmeq v1.16b, v31.16b, #0 252 cmeq v15.4h, v16.4h, #0 253 cmeq v5.8h, v6.8h, #0 254 cmeq v29.2s, v27.2s, #0 255 cmeq v9.4s, v7.4s, #0 256 cmeq v3.2d, v31.2d, #0 257 258// CHECK: cmeq v0.8b, v15.8b, #0x0 // encoding: [0xe0,0x99,0x20,0x0e] 259// CHECK: cmeq v1.16b, v31.16b, #0x0 // encoding: [0xe1,0x9b,0x20,0x4e] 260// CHECK: cmeq v15.4h, v16.4h, #0x0 // encoding: [0x0f,0x9a,0x60,0x0e] 261// CHECK: cmeq v5.8h, v6.8h, #0x0 // encoding: [0xc5,0x98,0x60,0x4e] 262// CHECK: cmeq v29.2s, v27.2s, #0x0 // encoding: [0x7d,0x9b,0xa0,0x0e] 263// CHECK: cmeq v9.4s, v7.4s, #0x0 // encoding: [0xe9,0x98,0xa0,0x4e] 264// CHECK: cmeq v3.2d, v31.2d, #0x0 // encoding: [0xe3,0x9b,0xe0,0x4e] 265 266//---------------------------------------------------------------------- 267// Vector Compare Mask Greater Than or Equal to Zero (Signed Integer) 268//---------------------------------------------------------------------- 269 cmge v0.8b, v15.8b, #0 270 cmge v1.16b, v31.16b, #0 271 cmge v15.4h, v16.4h, #0 272 cmge v5.8h, v6.8h, #0 273 cmge v29.2s, v27.2s, #0 274 cmge v17.4s, v20.4s, #0 275 cmge v3.2d, v31.2d, #0 276 277// CHECK: cmge v0.8b, v15.8b, #0x0 // encoding: [0xe0,0x89,0x20,0x2e] 278// CHECK: cmge v1.16b, v31.16b, #0x0 // encoding: [0xe1,0x8b,0x20,0x6e] 279// CHECK: cmge v15.4h, v16.4h, #0x0 // encoding: [0x0f,0x8a,0x60,0x2e] 280// CHECK: cmge v5.8h, v6.8h, #0x0 // encoding: [0xc5,0x88,0x60,0x6e] 281// CHECK: cmge v29.2s, v27.2s, #0x0 // encoding: [0x7d,0x8b,0xa0,0x2e] 282// CHECK: cmge v17.4s, v20.4s, #0x0 // encoding: [0x91,0x8a,0xa0,0x6e] 283// CHECK: cmge v3.2d, v31.2d, #0x0 // encoding: [0xe3,0x8b,0xe0,0x6e] 284 285//---------------------------------------------------------------------- 286// Vector Compare Mask Greater Than Zero (Signed Integer) 287//---------------------------------------------------------------------- 288 289 cmgt v0.8b, v15.8b, #0 290 cmgt v1.16b, v31.16b, #0 291 cmgt v15.4h, v16.4h, #0 292 cmgt v5.8h, v6.8h, #0 293 cmgt v29.2s, v27.2s, #0 294 cmgt v9.4s, v7.4s, #0 295 cmgt v3.2d, v31.2d, #0 296 297// CHECK: cmgt v0.8b, v15.8b, #0x0 // encoding: [0xe0,0x89,0x20,0x0e] 298// CHECK: cmgt v1.16b, v31.16b, #0x0 // encoding: [0xe1,0x8b,0x20,0x4e] 299// CHECK: cmgt v15.4h, v16.4h, #0x0 // encoding: [0x0f,0x8a,0x60,0x0e] 300// CHECK: cmgt v5.8h, v6.8h, #0x0 // encoding: [0xc5,0x88,0x60,0x4e] 301// CHECK: cmgt v29.2s, v27.2s, #0x0 // encoding: [0x7d,0x8b,0xa0,0x0e] 302// CHECK: cmgt v9.4s, v7.4s, #0x0 // encoding: [0xe9,0x88,0xa0,0x4e] 303// CHECK: cmgt v3.2d, v31.2d, #0x0 // encoding: [0xe3,0x8b,0xe0,0x4e] 304 305//---------------------------------------------------------------------- 306// Vector Compare Mask Less Than or Equal To Zero (Signed Integer) 307//---------------------------------------------------------------------- 308 cmle v0.8b, v15.8b, #0 309 cmle v1.16b, v31.16b, #0 310 cmle v15.4h, v16.4h, #0 311 cmle v5.8h, v6.8h, #0 312 cmle v29.2s, v27.2s, #0 313 cmle v9.4s, v7.4s, #0 314 cmle v3.2d, v31.2d, #0 315 316// CHECK: cmle v0.8b, v15.8b, #0x0 // encoding: [0xe0,0x99,0x20,0x2e] 317// CHECK: cmle v1.16b, v31.16b, #0x0 // encoding: [0xe1,0x9b,0x20,0x6e] 318// CHECK: cmle v15.4h, v16.4h, #0x0 // encoding: [0x0f,0x9a,0x60,0x2e] 319// CHECK: cmle v5.8h, v6.8h, #0x0 // encoding: [0xc5,0x98,0x60,0x6e] 320// CHECK: cmle v29.2s, v27.2s, #0x0 // encoding: [0x7d,0x9b,0xa0,0x2e] 321// CHECK: cmle v9.4s, v7.4s, #0x0 // encoding: [0xe9,0x98,0xa0,0x6e] 322// CHECK: cmle v3.2d, v31.2d, #0x0 // encoding: [0xe3,0x9b,0xe0,0x6e] 323 324//---------------------------------------------------------------------- 325// Vector Compare Mask Less Than Zero (Signed Integer) 326//---------------------------------------------------------------------- 327 cmlt v0.8b, v15.8b, #0 328 cmlt v1.16b, v31.16b, #0 329 cmlt v15.4h, v16.4h, #0 330 cmlt v5.8h, v6.8h, #0 331 cmlt v29.2s, v27.2s, #0 332 cmlt v9.4s, v7.4s, #0 333 cmlt v3.2d, v31.2d, #0 334 335// CHECK: cmlt v0.8b, v15.8b, #0x0 // encoding: [0xe0,0xa9,0x20,0x0e] 336// CHECK: cmlt v1.16b, v31.16b, #0x0 // encoding: [0xe1,0xab,0x20,0x4e] 337// CHECK: cmlt v15.4h, v16.4h, #0x0 // encoding: [0x0f,0xaa,0x60,0x0e] 338// CHECK: cmlt v5.8h, v6.8h, #0x0 // encoding: [0xc5,0xa8,0x60,0x4e] 339// CHECK: cmlt v29.2s, v27.2s, #0x0 // encoding: [0x7d,0xab,0xa0,0x0e] 340// CHECK: cmlt v9.4s, v7.4s, #0x0 // encoding: [0xe9,0xa8,0xa0,0x4e] 341// CHECK: cmlt v3.2d, v31.2d, #0x0 // encoding: [0xe3,0xab,0xe0,0x4e] 342 343//---------------------------------------------------------------------- 344// Vector Compare Mask Equal to Zero (Floating Point) 345//---------------------------------------------------------------------- 346 fcmeq v0.2s, v31.2s, #0.0 347 fcmeq v4.4s, v7.4s, #0.0 348 fcmeq v29.2d, v2.2d, #0.0 349 350// CHECK: fcmeq v0.2s, v31.2s, #0.0 // encoding: [0xe0,0xdb,0xa0,0x0e] 351// CHECK: fcmeq v4.4s, v7.4s, #0.0 // encoding: [0xe4,0xd8,0xa0,0x4e] 352// CHECK: fcmeq v29.2d, v2.2d, #0.0 // encoding: [0x5d,0xd8,0xe0,0x4e] 353 354//---------------------------------------------------------------------- 355// Vector Compare Mask Greater Than or Equal to Zero (Floating Point) 356//---------------------------------------------------------------------- 357 fcmge v31.4s, v29.4s, #0.0 358 fcmge v3.2s, v8.2s, #0.0 359 fcmge v17.2d, v15.2d, #0.0 360 361// CHECK: fcmge v31.4s, v29.4s, #0.0 // encoding: [0xbf,0xcb,0xa0,0x6e] 362// CHECK: fcmge v3.2s, v8.2s, #0.0 // encoding: [0x03,0xc9,0xa0,0x2e] 363// CHECK: fcmge v17.2d, v15.2d, #0.0 // encoding: [0xf1,0xc9,0xe0,0x6e] 364 365//---------------------------------------------------------------------- 366// Vector Compare Mask Greater Than Zero (Floating Point) 367//---------------------------------------------------------------------- 368 fcmgt v0.2s, v31.2s, #0.0 369 fcmgt v4.4s, v7.4s, #0.0 370 fcmgt v29.2d, v2.2d, #0.0 371 372// CHECK: fcmgt v0.2s, v31.2s, #0.0 // encoding: [0xe0,0xcb,0xa0,0x0e] 373// CHECK: fcmgt v4.4s, v7.4s, #0.0 // encoding: [0xe4,0xc8,0xa0,0x4e] 374// CHECK: fcmgt v29.2d, v2.2d, #0.0 // encoding: [0x5d,0xc8,0xe0,0x4e] 375 376//---------------------------------------------------------------------- 377// Vector Compare Mask Less Than or Equal To Zero (Floating Point) 378//---------------------------------------------------------------------- 379 fcmle v1.4s, v8.4s, #0.0 380 fcmle v3.2s, v20.2s, #0.0 381 fcmle v7.2d, v13.2d, #0.0 382 383// CHECK: fcmle v1.4s, v8.4s, #0.0 // encoding: [0x01,0xd9,0xa0,0x6e] 384// CHECK: fcmle v3.2s, v20.2s, #0.0 // encoding: [0x83,0xda,0xa0,0x2e] 385// CHECK: fcmle v7.2d, v13.2d, #0.0 // encoding: [0xa7,0xd9,0xe0,0x6e] 386 387//---------------------------------------------------------------------- 388// Vector Compare Mask Less Than Zero (Floating Point) 389//---------------------------------------------------------------------- 390 fcmlt v16.2s, v2.2s, #0.0 391 fcmlt v15.4s, v4.4s, #0.0 392 fcmlt v5.2d, v29.2d, #0.0 393 394// CHECK: fcmlt v16.2s, v2.2s, #0.0 // encoding: [0x50,0xe8,0xa0,0x0e] 395// CHECK: fcmlt v15.4s, v4.4s, #0.0 // encoding: [0x8f,0xe8,0xa0,0x4e] 396// CHECK: fcmlt v5.2d, v29.2d, #0.0 // encoding: [0xa5,0xeb,0xe0,0x4e] 397 398 399 400 401 402 403 404 405 406