From 1ecbae339c75f6aa5a0d42975f00c40bc049809b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 28 Jan 2013 15:28:38 +0000 Subject: PR gas/15069 * tic6x-opcode-table.h: Fix encoding of BNOP instruction. * gas/tic6x/insns-c674x-pcrel.s: Add test of BNOP instruction within header based fetch packet. * gas/tic6x/insns-c674x-pcrel.d: Update expected disassembly. --- include/opcode/tic6x-opcode-table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/opcode/tic6x-opcode-table.h') diff --git a/include/opcode/tic6x-opcode-table.h b/include/opcode/tic6x-opcode-table.h index bd22558ce..45e26fb87 100644 --- a/include/opcode/tic6x-opcode-table.h +++ b/include/opcode/tic6x-opcode-table.h @@ -436,7 +436,7 @@ INSN(bnop, s, branch_nop_cst, branch, C64X, TIC6X_FLAG_NO_CROSS|TIC6X_FLAG_MCNOP, FIX0(), OP2(OLCST, OACST), - ENC3(ENC(s, fu, 0), ENC(src2, pcrel, 0), ENC(src1, ucst, 1))) + ENC3(ENC(s, fu, 0), ENC(src2, pcrel_half, 0), ENC(src1, ucst, 1))) INSN(bnop, nfu, s_branch_nop_cst, branch, C64XP, TIC6X_FLAG_NO_CROSS|TIC6X_FLAG_MACRO|TIC6X_FLAG_MCNOP, FIX1(FIX(s, 0)), -- cgit v1.2.3