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.
This commit is contained in:
Nick Clifton 2013-01-28 15:28:38 +00:00
parent caad19d39f
commit 1ecbae339c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-01-28 Alexis Deruelle <alexis.deruelle@gmail.com>
PR gas/15069
* tic6x-opcode-table.h: Fix encoding of BNOP instruction.
2013-01-24 Nick Clifton <nickc@redhat.com>
* v850.h: Add e3v5 support.

View File

@ -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)),