This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] tic4x asm constraint bug


Hello,

A small bugfix.


Svein


include/opcode/ChangeLog:
2002-11-19  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* tic4x.h (c4x_insts): Fixed LDHI constraint

Index: include/opcode/tic4x.h
===================================================================
RCS file: /cvs/src/src/include/opcode/tic4x.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -c -3 -p -r1.4 -r1.5
*** include/opcode/tic4x.h	18 Nov 2002 09:09:34 -0000	1.4
--- include/opcode/tic4x.h	19 Nov 2002 11:59:12 -0000	1.5
*************** static const c4x_inst_t c4x_insts[] =
*** 951,958 ****
    P_CLASS_INSN(  "ldf",   "stf",  0xd8000000, OP_C3X   ),
    BB_CLASS_INSN( "ldfC",          0x00000000, OP_C3X   ),
    B6_CLASS_INSN( "ldfi",          0x07800000, OP_C3X   ),
!   { "ldhi",   0x1fe00000, 0xffe00000, "U,r" , OP_C4X   },  /* Z_CLASS */
!   { "ldhi",   0x1fe00000, 0xffe00000, "#,r" , OP_C4X   },  /* Z_CLASS */
    A_CLASS_INSN(  "ldi",           0x08000000, OP_C3X   ),
    LL_CLASS_INSN( "ldi",           0xc6000000, OP_C3X   ),
    P_CLASS_INSN(  "ldi",   "sti",  0xda000000, OP_C3X   ),
--- 951,958 ----
    P_CLASS_INSN(  "ldf",   "stf",  0xd8000000, OP_C3X   ),
    BB_CLASS_INSN( "ldfC",          0x00000000, OP_C3X   ),
    B6_CLASS_INSN( "ldfi",          0x07800000, OP_C3X   ),
!   { "ldhi",   0x1fe00000, 0xffe00000, "U,R" , OP_C4X   },  /* Z_CLASS */
!   { "ldhi",   0x1fe00000, 0xffe00000, "#,R" , OP_C4X   },  /* Z_CLASS */
    A_CLASS_INSN(  "ldi",           0x08000000, OP_C3X   ),
    LL_CLASS_INSN( "ldi",           0xc6000000, OP_C3X   ),
    P_CLASS_INSN(  "ldi",   "sti",  0xda000000, OP_C3X   ),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]