diff options
author | Jan Hubicka <jh@suse.cz> | 2000-09-29 11:40:24 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2000-09-29 11:40:24 +0000 |
commit | 6c698a6d9b4a78f1258cbf2432047a4e23fbc9d5 (patch) | |
tree | 86f0f02c1cd763e7136d740c442a6c1fed6e56af /gcc/config | |
parent | b1cdafbb6c7bef4c21922ae2ce25b64445dc49cc (diff) | |
download | gcc-6c698a6d9b4a78f1258cbf2432047a4e23fbc9d5.zip gcc-6c698a6d9b4a78f1258cbf2432047a4e23fbc9d5.tar.gz gcc-6c698a6d9b4a78f1258cbf2432047a4e23fbc9d5.tar.bz2 |
final.c (final_scan_insn): Remove extra extract_insn call; Use caching for constrain_operands.
* final.c (final_scan_insn): Remove extra extract_insn call;
Use caching for constrain_operands.
(cleanup_subreg_operands): Use caching for extract_insn.
* recog.c (constrain_operands_cached): New.
* recog.h (constrain_operands_cached): Declare.
* i386.c (ix86_attr_length_immediate_default,
ix86_attr_length_address_default, ix86_agi_dependant): Cache
extract_insn call.
* recog.c (asm_noperands): Tweak.
(extract_insn): Do not call asm_noperads for non-asm instructions.
From-SVN: r36665
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5521ea2..b66e5a4 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -6272,7 +6272,7 @@ ix86_attr_length_immediate_default (insn, shortform) { int len = 0; int i; - extract_insn (insn); + extract_insn_cached (insn); for (i = recog_data.n_operands - 1; i >= 0; --i) if (CONSTANT_P (recog_data.operand[i])) { @@ -6308,7 +6308,7 @@ ix86_attr_length_address_default (insn) rtx insn; { int i; - extract_insn (insn); + extract_insn_cached (insn); for (i = recog_data.n_operands - 1; i >= 0; --i) if (GET_CODE (recog_data.operand[i]) == MEM) { @@ -6409,7 +6409,7 @@ ix86_agi_dependant (insn, dep_insn, insn_type) else { int i; - extract_insn (insn); + extract_insn_cached (insn); for (i = recog_data.n_operands - 1; i >= 0; --i) if (GET_CODE (recog_data.operand[i]) == MEM) { |