[LLVM][AArch64] Remove aliases of LSUI instructions (#126072) · llvm/llvm-project@239faf0 (original) (raw)

`@@ -313,42 +313,16 @@ _func:

`

313

313

`// ERROR: instruction requires: lsui

`

314

314

``

315

315

` sttaddl w0, [x2]

`

316

``

`-

// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]

`

``

316

`+

// CHECK: ldtaddl w0, wzr, [x2] // encoding: [0x5f,0x04,0x60,0x19]

`

317

317

`// ERROR: instruction requires: lsui

`

318

318

` sttaddl w2, [sp]

`

319

``

`-

// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]

`

``

319

`+

// CHECK: ldtaddl w2, wzr, [sp] // encoding: [0xff,0x07,0x62,0x19]

`

320

320

`// ERROR: instruction requires: lsui

`

321

321

` sttaddl x0, [x2]

`

322

``

`-

// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]

`

``

322

`+

// CHECK: ldtaddl x0, xzr, [x2] // encoding: [0x5f,0x04,0x60,0x59]

`

323

323

`// ERROR: instruction requires: lsui

`

324

324

` sttaddl x2, [sp]

`

325

``

`-

// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]

`

326

``

`-

// ERROR: instruction requires: lsui

`

327

``

-

328

``

`-

sttadda w0, [x2]

`

329

``

`-

// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]

`

330

``

`-

// ERROR: instruction requires: lsui

`

331

``

`-

sttadda w2, [sp]

`

332

``

`-

// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]

`

333

``

`-

// ERROR: instruction requires: lsui

`

334

``

`-

sttadda x0, [x2]

`

335

``

`-

// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]

`

336

``

`-

// ERROR: instruction requires: lsui

`

337

``

`-

sttadda x2, [sp]

`

338

``

`-

// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]

`

339

``

`-

// ERROR: instruction requires: lsui

`

340

``

-

341

``

`-

sttaddal w0, [x2]

`

342

``

`-

// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]

`

343

``

`-

// ERROR: instruction requires: lsui

`

344

``

`-

sttaddal w2, [sp]

`

345

``

`-

// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]

`

346

``

`-

// ERROR: instruction requires: lsui

`

347

``

`-

sttaddal x0, [x2]

`

348

``

`-

// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]

`

349

``

`-

// ERROR: instruction requires: lsui

`

350

``

`-

sttaddal x2, [sp]

`

351

``

`-

// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]

`

``

325

`+

// CHECK: ldtaddl x2, xzr, [sp] // encoding: [0xff,0x07,0x62,0x59]

`

352

326

`// ERROR: instruction requires: lsui

`

353

327

``

354

328

` sttclr w0, [x2]

`

`@@ -362,45 +336,19 @@ _func:

`

362

336

`// ERROR: instruction requires: lsui

`

363

337

` sttclr x2, [sp]

`

364

338

`// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]

`

365

``

`-

// ERROR: instruction requires: lsui

`

366

``

-

367

``

`-

sttclra w0, [x2]

`

368

``

`-

// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]

`

369

``

`-

// ERROR: instruction requires: lsui

`

370

``

`-

sttclra w2, [sp]

`

371

``

`-

// CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]

`

372

``

`-

// ERROR: instruction requires: lsui

`

373

``

`-

sttclra x0, [x2]

`

374

``

`-

// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]

`

375

``

`-

// ERROR: instruction requires: lsui

`

376

``

`-

sttclra x2, [sp]

`

377

``

`-

// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]

`

378

339

`// ERROR: instruction requires: lsui

`

379

340

``

380

341

` sttclrl w0, [x2]

`

381

``

`-

// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]

`

``

342

`+

// CHECK: ldtclrl w0, wzr, [x2] // encoding: [0x5f,0x14,0x60,0x19]

`

382

343

`// ERROR: instruction requires: lsui

`

383

344

` sttclrl w2, [sp]

`

384

``

`-

// CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]

`

``

345

`+

// CHECK: ldtclrl w2, wzr, [sp] // encoding: [0xff,0x17,0x62,0x19]

`

385

346

`// ERROR: instruction requires: lsui

`

386

347

` sttclrl x0, [x2]

`

387

``

`-

// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]

`

``

348

`+

// CHECK: ldtclrl x0, xzr, [x2] // encoding: [0x5f,0x14,0x60,0x59]

`

388

349

`// ERROR: instruction requires: lsui

`

389

350

` sttclrl x2, [sp]

`

390

``

`-

// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]

`

391

``

`-

// ERROR: instruction requires: lsui

`

392

``

-

393

``

`-

sttclral w0, [x2]

`

394

``

`-

// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]

`

395

``

`-

// ERROR: instruction requires: lsui

`

396

``

`-

sttclral x2, [sp]

`

397

``

`-

// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]

`

398

``

`-

// ERROR: instruction requires: lsui

`

399

``

`-

sttclral x0, [x2]

`

400

``

`-

// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]

`

401

``

`-

// ERROR: instruction requires: lsui

`

402

``

`-

sttclral x2, [sp]

`

403

``

`-

// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]

`

``

351

`+

// CHECK: ldtclrl x2, xzr, [sp] // encoding: [0xff,0x17,0x62,0x59]

`

404

352

`// ERROR: instruction requires: lsui

`

405

353

``

406

354

` sttset w0, [x2]

`

`@@ -414,45 +362,19 @@ _func:

`

414

362

`// ERROR: instruction requires: lsui

`

415

363

` sttset x2, [sp]

`

416

364

`// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]

`

417

``

`-

// ERROR: instruction requires: lsui

`

418

``

-

419

``

`-

sttseta w0, [x2]

`

420

``

`-

// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]

`

421

``

`-

// ERROR: instruction requires: lsui

`

422

``

`-

sttseta w2, [sp]

`

423

``

`-

// CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]

`

424

``

`-

// ERROR: instruction requires: lsui

`

425

``

`-

sttseta x0, [x2]

`

426

``

`-

// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]

`

427

``

`-

// ERROR: instruction requires: lsui

`

428

``

`-

sttseta x2, [sp]

`

429

``

`-

// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]

`

430

365

`// ERROR: instruction requires: lsui

`

431

366

``

432

367

` sttsetl w0, [x2]

`

433

``

`-

// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]

`

``

368

`+

// CHECK: ldtsetl w0, wzr, [x2] // encoding: [0x5f,0x34,0x60,0x19]

`

434

369

`// ERROR: instruction requires: lsui

`

435

370

` sttsetl w2, [sp]

`

436

``

`-

// CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]

`

``

371

`+

// CHECK: ldtsetl w2, wzr, [sp] // encoding: [0xff,0x37,0x62,0x19]

`

437

372

`// ERROR: instruction requires: lsui

`

438

373

` sttsetl x0, [x2]

`

439

``

`-

// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]

`

``

374

`+

// CHECK: ldtsetl x0, xzr, [x2] // encoding: [0x5f,0x34,0x60,0x59]

`

440

375

`// ERROR: instruction requires: lsui

`

441

376

` sttsetl x2, [sp]

`

442

``

`-

// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]

`

443

``

`-

// ERROR: instruction requires: lsui

`

444

``

-

445

``

`-

sttsetal w0, [x2]

`

446

``

`-

// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]

`

447

``

`-

// ERROR: instruction requires: lsui

`

448

``

`-

sttsetal x2, [sp]

`

449

``

`-

// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]

`

450

``

`-

// ERROR: instruction requires: lsui

`

451

``

`-

sttsetal x0, [x2]

`

452

``

`-

// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]

`

453

``

`-

// ERROR: instruction requires: lsui

`

454

``

`-

sttsetal x2, [sp]

`

455

``

`-

// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]

`

``

377

`+

// CHECK: ldtsetl x2, xzr, [sp] // encoding: [0xff,0x37,0x62,0x59]

`

456

378

`// ERROR: instruction requires: lsui

`

457

379

``

458

380

`//------------------------------------------------------------------------------

`