diff options
author | Diego Novillo <dnovillo@cygnus.com> | 2000-10-25 17:26:27 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@cygnus.com> | 2000-10-25 17:26:27 +0000 |
commit | 39e7c7bc14ae2e1aea9d872bd6e2ed8bc5b3aaa2 (patch) | |
tree | be54342dbc07c7ca495b35e15a42957e3c90a633 /gcc/config/i386/i386.md | |
parent | 37e9ea635c34e04b6275b6133e86631e95cfca11 (diff) |
2000-10-23 Diego Novillo <dnovillo@cygnus.com>
* i386.c (print_operand): Handle new 'A' formatting code.
387 opcodes need suffixes even with -mintel-syntax.
Check for explicit size override (codes 'b', 'w' and 'k').
(print_operand_address): Check if register prefix is needed when
emitting `ds' segment override.
* i386.h: Add comment about new 'A' formatting code.
* i386.md (jump and call patterns): Emit absolute references using %A.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@37055 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/i386.md')
-rw-r--r-- | gcc/config/i386/i386.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 3d908eacaef..90b14824a68 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -8662,7 +8662,7 @@ (define_insn "indirect_jump" [(set (pc) (match_operand:SI 0 "nonimmediate_operand" "rm"))] "" - "jmp\\t%*%0" + "jmp\\t%A0" [(set_attr "type" "ibr") (set_attr "length_immediate" "0")]) @@ -8670,7 +8670,7 @@ [(set (pc) (match_operand:SI 0 "nonimmediate_operand" "rm")) (use (label_ref (match_operand 1 "" "")))] "! flag_pic" - "jmp\\t%*%0" + "jmp\\t%A0" [(set_attr "type" "ibr") (set_attr "length_immediate" "0")]) @@ -8744,7 +8744,7 @@ [(set (pc) (match_operand:SI 0 "nonimmediate_operand" "rm")) (use (label_ref (match_operand 1 "" "")))] "" - "jmp\\t%*%0" + "jmp\\t%A0" [(set_attr "type" "ibr") (set_attr "length_immediate" "0")]) @@ -8915,9 +8915,9 @@ return \"call\\t%P0\"; } if (SIBLING_CALL_P (insn)) - return \"jmp\\t%*%0\"; + return \"jmp\\t%A0\"; else - return \"call\\t%*%0\"; + return \"call\\t%A0\"; }" [(set_attr "type" "call")]) @@ -8965,9 +8965,9 @@ return \"call\\t%P0\"; } if (SIBLING_CALL_P (insn)) - return \"jmp\\t%*%0\"; + return \"jmp\\t%A0\"; else - return \"call\\t%*%0\"; + return \"call\\t%A0\"; }" [(set_attr "type" "call")]) @@ -9103,7 +9103,7 @@ [(return) (use (match_operand:SI 0 "register_operand" "r"))] "reload_completed" - "jmp\\t%*%0" + "jmp\\t%A0" [(set_attr "type" "ibr") (set_attr "length_immediate" "0")]) @@ -11546,9 +11546,9 @@ return \"call\\t%P1\"; } if (SIBLING_CALL_P (insn)) - return \"jmp\\t%*%1\"; + return \"jmp\\t%A1\"; else - return \"call\\t%*%1\"; + return \"call\\t%A1\"; }" [(set_attr "type" "callv")]) @@ -11581,9 +11581,9 @@ return \"call\\t%P1\"; } if (SIBLING_CALL_P (insn)) - return \"jmp\\t%*%1\"; + return \"jmp\\t%A1\"; else - return \"call\\t%*%1\"; + return \"call\\t%A1\"; }" [(set_attr "type" "callv")]) |