https://sourceware.org/bugzilla/show_bug.cgi?id=25184

Stafford Horne <shorne at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shorne at sourceware dot org

--- Comment #1 from Stafford Horne <shorne at sourceware dot org> ---
I have reproduced this.  There are a few issues here:

  1. One reason for the truncations seems to be related to including 64-bit and
32-bit targets in the OR1K architecture definitions.  If I remove the 64-bit
bit definitions everything seems to work fine.
  2. The other reason is that the PC Address type is 'unsigned int'.  Doing the
computation of ((int)value - (unsigned int)pc)  results in an unsigned int.  We
want for PC to be casted to a signed int, However it seems CGEN doesn't support
that.  It may required a patch to cgen.

My thought it to remove the 64-bit definitions, we don't really use them (2-
lines).  If we need it we can add them back as a separate architecture.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to