2 msggcc bug question regarding error recovery
1 msg[cygwin, gnat] error: 'system.ads' has restrict...
1 msg[cygwin] FAIL: gcc.dg/vect/pr31041.c: gcc.dg/ve...
2 msgInserting NOP instructions and branch delay slots
4 msgHow to get fndecl on C++ CALL_EXPR?
4 msgResults for 4.3.0 20080125 (experimental) (GCC)...
1 msgMake insn-recog.c use a byte-coded DFA
11 msg[m32c] type precedence rules and pointer signs
1 msggcc-4.2-20080130 is now available
9 msgProper way to make a one-off multi-file testcase?
9 msgContributing to cross-compiling
4 msgMIPS failure in gcc.c-torture/execute/20040709-...
1 msgConfirm Your E-mail Address
4 msgGIMPLE nodes to ASM by using builtins
4 msgBultins functions execl... for mingw
1 msg-Winvalid-pch semantics
1 msgBUG in libstdc++-v3/config/os/generic/error_con...

Question about Register Class Allocation
\ Balaji V. Iyer (29 Jan 2008)
. \ Ian Lance Taylor (30 Jan 2008)

1 msgAnnounce: MPFR 2.3.1 is released
7 msg_Unwind_Resume on the stack
Subject:Re: Question about Register Class Allocation
Group:Gcc
From:Ian Lance Taylor
Date:30 Jan 2008


"Balaji V. Iyer" <bviyer> writes:

> I saw that regclass() function determines which class of register
> the registers in the current units should be assigned to. The question I
> have is: Will this decision change in any other parts of the compiler?
> or is this this the final place where they fix the register class? So,
> if I add my own priority-based register-class assigner, can I just
> replace this function and add my own?

regclass sets preferences. Those preferences will not change later.
The register allocator will honor those preferences if possible.
However, it is not required to honor them. It is only required to
honor the constraints in the MD file.

Ian


© 2004-2008 readlist.com