blob: 6588b778771b8c0e3eb22bb1f1cf2a4317f4fb8b [file] [log] [blame]
// RUN: llvm-mc -triple=powerpc64-pc-linux %s -o - | FileCheck %s
NUMBER = 0x6ffffff9
.text
.globl main
main:
cmpwi 8,(NUMBER)@l
cmpwi 8,-(NUMBER)@l
cmpwi 8,(-NUMBER)@l
cmpwi 8,NUMBER@l
cmpwi 8,-NUMBER@l
// CHECK: main:
// CHECK: cmpwi 8, -7
// CHECK: cmpwi 8, 7
// CHECK: cmpwi 8, 7
// CHECK: cmpwi 8, -7
// CHECK: cmpwi 8, 7