PRE and CISC

shrey <shreyas76@gmail.com>
Thu, 17 Jan 2008 21:22:34 -0800 (PST)

          From comp.compilers

Related articles
PRE and CISC shreyas76@gmail.com (shrey) (2008-01-17)
Re: PRE and CISC ahighamster@gmail.com (2008-01-18)
| List of all articles for this month |

From: shrey <shreyas76@gmail.com>
Newsgroups: comp.compilers
Date: Thu, 17 Jan 2008 21:22:34 -0800 (PST)
Organization: Compilers Central
Keywords: registers, optimize, question
Posted-Date: 18 Jan 2008 00:50:02 EST

Hi
      I am wondering how compilers with aggressive PRE work for CISC
compilers. CISC instruction sets provide addressing modes where the
variable can be in symbolic form residing in memory. for example


add a, b, c - Registers need not be allocated.


Since PRE aims at trying to promote candidates into pseudo registers,
the subsequent passes may not have the opportunity to realize the
addressing mode (lets assume the addressing mode is sometimes
beneficial over using registers)


Two questions if somebody can help me find answers:
1. Are there any PRE algorithms that are aware of such addressing
modes ?
2. if not, how else can the subsequent passes recover so that they can
use these addressing modes?


Any pointers ?
thanks
shrey



Post a followup to this message

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