|
|
|
|
 请教:关于GCC的机器描述 - kingyoeh [ 2005-08-24 15:36 | 833 byte(s)]
 Re: 请教:关于GCC的机器描述 - canopy [ 2005-08-24 21:35 | 237 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
本人刚接触GCC的机器描述,以下是GCC官方文档中的,请教以下两个问题:
1.第一句该怎么翻译?
2.hard-coded是什么意思?
谢谢!!!
翻译原文:
For the generate pass, only the names of the insns matter, from
either a named `define_insn' or a `define_expand'. The compiler will
choose the pattern with the right name and apply the operands according
to the documentation later in this chapter, without regard for the RTL
template or operand constraints. Note that the names the compiler looks
for are hard-coded in the compiler--it will ignore unnamed patterns and
patterns with names it doesn't know about, but if you don't provide a
named pattern it needs, it will abort.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
GCC only uses the names from a named "define_insn" or a "define_expand" when generating RTL.
"Hard-coded" means that the name GCC is looking for is explicitly mentioned in GCC source code.
|
|
|
[Original]
[Print]
[Top]
|
|
|