llvm-project/llvm/test/MC/Sparc/sparc-misc-instructions.s
Koakuma 7955760bc8
[SPARC][IAS] Add illtrap alias for unimp (#105928)
This follows Solaris behavior of allowing both mnemonics all the time.

Fixes https://github.com/llvm/llvm-project/issues/105639.
2024-08-29 19:28:38 +07:00

15 lines
440 B
ArmAsm

! RUN: llvm-mc %s -triple=sparc -show-encoding | FileCheck %s
! RUN: llvm-mc %s -triple=sparcv9 -show-encoding | FileCheck %s
! CHECK: unimp 0 ! encoding: [0x00,0x00,0x00,0x00]
unimp
! CHECK: unimp 0 ! encoding: [0x00,0x00,0x00,0x00]
unimp 0
! CHECK: unimp 0 ! encoding: [0x00,0x00,0x00,0x00]
illtrap
! CHECK: unimp 0 ! encoding: [0x00,0x00,0x00,0x00]
illtrap 0