q: gcc backend condition codes

Erez Doron <erez@savan.com>
20 Jun 2003 00:16:54 -0400

          From comp.compilers

Related articles
q: gcc backend condition codes erez@savan.com (Erez Doron) (2003-06-20)
Re: q: gcc backend condition codes kers@hplb.hpl.hp.com (Chris Dollin) (2003-06-22)
Re: q: gcc backend condition codes jle@forest.owlnet.rice.edu (2003-06-25)
Re: q: gcc backend condition codes mrmnews@the-meissners.org (Michael Meissner) (2003-07-02)
| List of all articles for this month |

From: Erez Doron <erez@savan.com>
Newsgroups: comp.compilers
Date: 20 Jun 2003 00:16:54 -0400
Organization: Verio
Keywords: GCC, code, question
Posted-Date: 20 Jun 2003 00:16:54 EDT

hi


I'm trying to port gcc to a new processor.


the assembeler does not have a flags register.


instead, every instruction can be preceded with a condition.


e.g.
        if r1>r2 mov r2,r1


is a maximum function.


how can i acomplish that ?
(examples is good)


cheers,
erez.


Post a followup to this message

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