Article View: gnu.gcc.help
Article #46566gcc-mips machine description
From: Jeff Spiegel
Date: Wed, 09 Nov 1994 04:09
Date: Wed, 09 Nov 1994 04:09
28 lines
1802 bytes
1802 bytes
I am trying to add a feature to a custom gcc-mips compiler to try to optimize for placement of branch instructions in an even word boundary address. 0x00020000 even instruction word boundary: (addr&4) == 0 0x00020004 odd instruction word boundary: (addr&4) == 1 0x00020008 even instruction word boundary: (addr&4) == 0 The processor is a 2 pipeline super-scalar architecture that benefits from a branch instruction in an even word address by being able to displatch the instruction following, i.e. in the branch delay slot in the same cycle. Any thoughts on whether this is possible to describe in the machine description file language? Any similar cases around for other processors? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Jeff Spiegel jeffs@lsil.com 408-433-4291 | | LSI Logic Corp. G-813 FAX: 408-954-4874 | | 1525 McCarthy Blvd. Milpitas, CA 95035 | | | | Jeff Spiegel Home #: 415-325-6905 | | 2850 Middlefield Rd #232C | | Palo Alto, CA 94306 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID:
<39pi1t$slp@lsi.lsil.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!solaris.cc.vt.edu!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!usc!news.cerf.net!lsi.lsil.com!up133!jeffsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4306d7bfe96c4e84,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-11-08 20:09:33 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!solaris.cc.vt.edu!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!usc!news.cerf.net!lsi.lsil.com!up133!jeffs From: jeffs@lsil.com (Jeff Spiegel) Newsgroups: gnu.gcc.help Subject: gcc-mips machine description Date: 9 Nov 1994 04:09:33 GMT Organization: LSI Logic Corporation Lines: 28 Message-ID: <39pi1t$slp@lsi.lsil.com> NNTP-Posting-Host: 147.145.12.133 X-Newsreader: Tin 1.1 PL5