Seeking info on gcc/gas internals

Li Xu <>
30 Apr 1999 22:54:12 -0400

          From comp.compilers

Related articles
Seeking info on gcc/gas internals (Li Xu) (1999-04-30)
| List of all articles for this month |

From: Li Xu <>
Newsgroups: comp.compilers,
Date: 30 Apr 1999 22:54:12 -0400
Organization: CS Dept, Rice University
Keywords: GCC, question


I am on a project to modify gcc/gas to support a modified
MIPS ISA, in which to eliminate the use of condition code
for branches.

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: $4, $f0, $f1 # set $r4=1, if $f0<$f1
beqz $4, label_false
rather than $f0, $f1
bc1f label_false

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.

--Li Xu

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.