2013-06-12 Sandra Loosemore <sandra@codesourcery.com>

include/opcode/
	* nios2.h (OP_MATCH_ERET): Correct eret encoding.

	gas/testsuite/
	* gas/nios2/tret.d: Correct eret encoding.
This commit is contained in:
Sandra Loosemore 2013-06-12 23:03:21 +00:00
parent 760256f967
commit 0c8fe7cfe2
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
* gas/nios2/tret.d: Correct eret encoding.
2013-06-10 Maciej W. Rozycki <macro@codesourcery.com>
* gas/mips/relax-bc1any.l: New test.

View File

@ -4,5 +4,4 @@
.*: +file format elf32-littlenios2
Disassembly of section .text:
0+0000 <[^>]*> e800083a eret
0+0000 <[^>]*> ef80083a eret

View File

@ -1,3 +1,7 @@
2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
* nios2.h (OP_MATCH_ERET): Correct eret encoding.
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.

View File

@ -440,7 +440,7 @@ struct nios2_reg
#define OP_MATCH_SUB OPX_MATCH (OPX_SUB)
#define OP_MATCH_SYNC OPX_MATCH (OPX_SYNC)
#define OP_MATCH_TRAP ((0x1d << 17) | OPX_MATCH (OPX_TRAP))
#define OP_MATCH_ERET (0xe8000000 | OPX_MATCH (OPX_ERET))
#define OP_MATCH_ERET (0xef800000 | OPX_MATCH (OPX_ERET))
#define OP_MATCH_WRCTL OPX_MATCH (OPX_WRCTL)
#define OP_MATCH_WRPRS OPX_MATCH (OPX_WRPRS)
#define OP_MATCH_XOR OPX_MATCH (OPX_XOR)