This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Indirect memory addresses vs. lra


On Fri, Aug 09, 2019 at 01:34:36PM -0400, Vladimir Makarov wrote:
     
     If you provide LRA dump for such test (it is better to use
     -fira-verbose=15 to output full RA info into stderr), I probably could
     say more.

I've attached such a dump (generated from gcc/testsuite/gcc.c-torture/compile/pr53410-2.c).
     
     The less regs the architecture has, thoke easier to run into such error
     message if something described wrong in the back-end.?? I see your
     architecture is 16-bit micro-controller with only 8 regs, some of them is
     specialized.?? So your architecture is really register constrained.

That's not quite correct.  It is a 24-bit micro-controller (the address
space is 24 bits wide).  There are 2 address registers (plus stack
pointer and program counter) and there are 8 general purpose data
registers (of differing sizes).
     

J'

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: ira-verbose=15.txt
Description: Text document

Attachment: signature.asc
Description: PGP signature


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