On Mon, Aug 29, 2005 at 01:03:01PM +0200, Gonzalo Jimenez Sanchez wrote:
> regs.s:445: Error: operand out of range (0x0000aa39 is not between
> 0xffff8000 and 0x00007fff)
> 
> line 445 in that file is: li      r3,0xAA39

Error in your source.  Write "li r3,0xffffaa39".  (Which is the value
you will find in r3 after executing this insn.)

> init8260.s:1067: Error: operand out of range (0x0000ffff is not between
> 0xffff8000 and 0x00007fff)
> 
> line 1067 in that file is: addi    r3,0,0xFFFF

Another error.  "addi r3,0,0xffffffff" (or more clearly
"li r3,0xffffffff").

> In 8260_int.s you can find in line 385:    addi     r2,0,0xFFFD      # Load
> the mask - 0xFFFFFFFD

Similarly.

> My change:
> { "li",            OP(14),    DRA_MASK,       PPCCOM,         { RT, SISIGNOPT 
> } },
> 
> { "addi",    OP(14),  OP_MASK,        PPCCOM,         { RT, RA0, SISIGNOPT
> } },

No, this is wrong.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to