bolt/deps/llvm-18.1.8/llvm/test/MC/M68k/Arith/Classes/MxNEG.s
2025-02-14 19:21:04 +01:00

21 lines
495 B
ArmAsm

; RUN: llvm-mc -triple=m68k -show-encoding %s | FileCheck %s
; CHECK: neg.b %d0
; CHECK-SAME: encoding: [0x44,0x00]
neg.b %d0
; CHECK: neg.w %d0
; CHECK-SAME: encoding: [0x44,0x40]
neg.w %d0
; CHECK: neg.l %d0
; CHECK-SAME: encoding: [0x44,0x80]
neg.l %d0
; CHECK: negx.b %d0
; CHECK-SAME: encoding: [0x40,0x00]
negx.b %d0
; CHECK: negx.w %d0
; CHECK-SAME: encoding: [0x40,0x40]
negx.w %d0
; CHECK: negx.l %d0
; CHECK-SAME: encoding: [0x40,0x80]
negx.l %d0