- 论坛徽章:
- 0
|
本帖最后由 lazy_linux 于 2015-01-23 10:03 编辑
如题,在GCC 文档 gccinternal-4.4.0.pdf中经常看到一个词语就是reload,这个reload是个什么过程?求指点!谢谢! ()
例如在17 Target Description Macros and Functions的17.14 Addressing Modes中对于宏定义GO_IF_LEGITIMATE_ADDRESS有如下描述:
GO_IF_LEGITIMATE_ADDRESS (mode, x, label) [Macro]
This macro must exist in two variants: a strict variant and a non-strict one.
The strict variant is used in the reload pass. It must be defined so that any pseudo-register that has not been allocated a hard register is considered a memory reference. In contexts where some kind of register is required, a pseudo-register with no hard register must be rejected. The non-strict variant is used in other passes. It must be defined to accept all pseudoregisters in every context where some kind of register is required.
Compiler source files that want to use the strict variant of this macro define the macro REG_OK_STRICT. You should use an #ifdef REG_OK_STRICT conditional to define the
strict variant in that case and the non-strict variant otherwise.
...... |
|