|Seeking info on gcc/gas internals email@example.com (Li Xu) (1999-04-30)|
|From:||Li Xu <firstname.lastname@example.org>|
|Date:||30 Apr 1999 22:54:12 -0400|
|Organization:||CS Dept, Rice University|
I am on a project to modify gcc/gas to support a modified
MIPS ISA, in which to eliminate the use of condition code
My problem is I want to add floating point compare instructions,
so the compare result is stored to an int register, rather than
set specific condition code, and following branch instruction uses
the result in the register to branch in stead of on condition code.
The desired code looks like:
c.lt.s $4, $f0, $f1 # set $r4=1, if $f0<$f1
beqz $4, label_false
c.lt.s $f0, $f1
As I approach the problem, I need to hack the gcc/gas tools
to support the new compare operations. Can anyone give me a pointer
to description/documentation on the implementation details of
the GNU cc/as tool chain?
Thank you very much for any help.
Return to the
Search the comp.compilers archives again.