conditional based transfer patterns in md file

abhishekRoy <abhi353@gmail.com>
Fri, 1 Feb 2008 01:36:10 -0800 (PST)

          From comp.compilers

Related articles
conditional based transfer patterns in md file abhi353@gmail.com (abhishekRoy) (2008-02-01)
addition of patterns in md file abhi353@gmail.com (abhishekRoy) (2008-02-01)
Re: addition of patterns in md file compilers@the-meissners.org (Michael Meissner) (2008-02-05)
Re: conditional based transfer patterns in md file compilers@the-meissners.org (Michael Meissner) (2008-02-05)
| List of all articles for this month |
From: abhishekRoy <abhi353@gmail.com>
Newsgroups: comp.compilers
Date: Fri, 1 Feb 2008 01:36:10 -0800 (PST)
Organization: Compilers Central
Keywords: GCC, question
Posted-Date: 01 Feb 2008 20:47:44 EST

Hi gcc experts,


While updating the machine description file for our architecture ,we
encountered the problem regarding conditional based transfer.
In gcc internals specified that conditional based transfer can be
supported using the standard pattern 'movModecc' as shown below.
                                                                op0=(cc)? op2:op3
But our architecture supports conditional transfer instruction as
shown below:
                    T<CC> op1, op2 It transfers the op1 to op2 if the <CC>
is true otherwise it should behave like 'nop' .
would u people tell me ,how to define the pattern in machine
description file regarding the above specified issue.



Post a followup to this message

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