dmd.backend.cod3.pinholeopt
- multiple declarations
Function pinholeopt
Find shorter versions of the same instructions. Does these optimizations: replaces jmps to the next instruction with NOPs sign extension of modregrm displacement sign extension of immediate data (can't do it for OR, AND, XOR as the opcodes are not defined) short versions for AX EA short versions for reg EA Code is neither removed nor added.
extern(C++) void pinholeopt
(
dmd .backend .code_x86 .code* c,
dmd .backend .cc .block* b
);
Parameters
Name | Description |
---|---|
b | block for code (or null) |
c | code list to optimize |
Function pinholeopt
Find shorter versions of the same instructions. Does these optimizations: replaces jmps to the next instruction with NOPs sign extension of modregrm displacement sign extension of immediate data (can't do it for OR, AND, XOR as the opcodes are not defined) short versions for AX EA short versions for reg EA Code is neither removed nor added.
extern(C++) void pinholeopt
(
dmd .backend .code_x86 .code* c,
dmd .backend .cc .block* b
);
Parameters
Name | Description |
---|---|
b | block for code (or null) |
c | code list to optimize |