aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Cook <kelleycook@comcast.net>2002-02-26 16:29:00 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-02-26 16:29:00 -0800
commit831c4e87d062632c91dbcc3695d708c43d3db6cb (patch)
treefca581463832e6c6113b5bb48434a6ae66a20d22
parentff88fe10350cc5bdb652fdc37c99507cc8b41242 (diff)
downloadgcc-831c4e87d062632c91dbcc3695d708c43d3db6cb.zip
gcc-831c4e87d062632c91dbcc3695d708c43d3db6cb.tar.gz
gcc-831c4e87d062632c91dbcc3695d708c43d3db6cb.tar.bz2
i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode.
* config/i386/i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode. From-SVN: r50075
-rw-r--r--gcc/ChangeLog133
-rw-r--r--gcc/config/i386/i386.c7
2 files changed, 74 insertions, 66 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b6d57ab..a413170 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-26 Kelley Cook <kelleycook@comcast.net>
+
+ * config/i386/i386.c (print_operand): Don't append ATT-style
+ length suffixs to x87 opcodes when in Intel mode.
+
2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
* emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
@@ -62,27 +67,27 @@
2002-02-26 Aldy Hernandez <aldyh@redhat.com>
- * dwarf2out.c (modified_type_die): Do not call type_main_variant
- for vectors.
- (gen_type_die): Same.
+ * dwarf2out.c (modified_type_die): Do not call type_main_variant
+ for vectors.
+ (gen_type_die): Same.
- * attribs.c (handle_vector_size_attribute): Set debug information.
+ * attribs.c (handle_vector_size_attribute): Set debug information.
2002-02-26 Daniel Egger <degger@fhm.edu>
- * config/rs6000/rs6000.md: Swap define_insn attributes to
- fix incorrect generation of merge high instructions instead
- of merge low.
+ * config/rs6000/rs6000.md: Swap define_insn attributes to
+ fix incorrect generation of merge high instructions instead
+ of merge low.
2002-02-26 Aldy Hernandez <aldyh@redhat.com>
- * c-typeck.c (really_start_incremental_init): Use
- bitsize_zero_node for vectors.
+ * c-typeck.c (really_start_incremental_init): Use
+ bitsize_zero_node for vectors.
2002-02-26 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
- ("*set_vrsave_internal"): Same.
+ * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
+ ("*set_vrsave_internal"): Same.
2002-02-25 Richard Henderson <rth@redhat.com>
@@ -108,7 +113,7 @@
2002-02-25 Aldy Hernandez <aldyh@redhat.com>
- * c-typeck.c (push_init_level): Handle vectors.
+ * c-typeck.c (push_init_level): Handle vectors.
2002-02-25 Alexandre Oliva <aoliva@redhat.com>
@@ -126,11 +131,11 @@
2002-02-25 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
- ("*set_vrsave_internal"): use mfspr for Darwin.
+ * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
+ ("*set_vrsave_internal"): use mfspr for Darwin.
- * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
- gen_get_vrsave_internal.
+ * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
+ gen_get_vrsave_internal.
Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
@@ -224,7 +229,7 @@ Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2002-02-23 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/altivec.h: Add extra level of parentheses on casts.
+ * config/rs6000/altivec.h: Add extra level of parentheses on casts.
2002-02-22 David Edelsohn <edelsohn@gnu.org>
@@ -374,7 +379,7 @@ Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
2002-02-20 Torbjorn Granlund <tege@swox.com>
* config/avr/avr.md: Add more patterns for mized-mode add and subtract
- (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
+ (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
@@ -1046,20 +1051,20 @@ Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2002-02-14 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
+ * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
- * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
+ * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
2002-02-14 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
- alternatives.
- ("*movv8hi_internal1"): Same.
- ("*movv16qi_internal1"): Same.
- ("*movv4sf_internal1"): Same.
+ * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
+ alternatives.
+ ("*movv8hi_internal1"): Same.
+ ("*movv16qi_internal1"): Same.
+ ("*movv4sf_internal1"): Same.
- * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
- not push_reload for altivec modes.
+ * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
+ not push_reload for altivec modes.
2002-02-13 Joel Sherrill <joel@OARcorp.com>
@@ -1172,17 +1177,17 @@ Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
2002-02-12 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/rs6000.md: Use predicate altivec_register_operand
- for altivec_lvx* and altivec_stvx*.
- ("*movv4si_internal"): Add constraint for loading from GPRs.
- ("*movv8hi_internal1"): Same.
- ("*movv16qi_internal1"): Same.
- ("*movv4sf_internal1"): Same.
+ * config/rs6000/rs6000.md: Use predicate altivec_register_operand
+ for altivec_lvx* and altivec_stvx*.
+ ("*movv4si_internal"): Add constraint for loading from GPRs.
+ ("*movv8hi_internal1"): Same.
+ ("*movv16qi_internal1"): Same.
+ ("*movv4sf_internal1"): Same.
- * config/rs6000/rs6000.c (altivec_register_operand): New.
+ * config/rs6000/rs6000.c (altivec_register_operand): New.
- * config/rs6000/rs6000.h (PREDICATE_CODES): Add
- altivec_register_operand.
+ * config/rs6000/rs6000.h (PREDICATE_CODES): Add
+ altivec_register_operand.
2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
@@ -1191,15 +1196,15 @@ Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
2002-02-13 Stan Shebs <shebs@apple.com>
- * c-typeck.c (digest_init): Handle vectors.
- (really_start_incremental_init): Same.
- (pop_init_level): Same.
- (process_init_element): Same.
+ * c-typeck.c (digest_init): Handle vectors.
+ (really_start_incremental_init): Same.
+ (pop_init_level): Same.
+ (process_init_element): Same.
- * varasm.c (output_constant): Same.
+ * varasm.c (output_constant): Same.
- * expr.c (clear_storage): Same.
- (store_constructor): Same.
+ * expr.c (clear_storage): Same.
+ (store_constructor): Same.
2002-02-12 Eric Christopher <echristo@redhat.com>
@@ -2268,9 +2273,9 @@ Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
2002-02-08 Chris Demetriou <cgd@broadcom.com>
- * config/mips/mips.md (casesi_internal, casesi_internal_di):
- Protect jump delay slot instructions with .set noreorder and
- .set nomacro.
+ * config/mips/mips.md (casesi_internal, casesi_internal_di):
+ Protect jump delay slot instructions with .set noreorder and
+ .set nomacro.
2002-02-08 Chris Demetriou <cgd@broadcom.com>
@@ -2506,7 +2511,7 @@ Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2002-02-06 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/altivec.h: Change elem to _S_elem.
+ * config/rs6000/altivec.h: Change elem to _S_elem.
2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
@@ -2656,10 +2661,10 @@ Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/arm/arm.h (machine_function): Add uses_anonymous_args
field.
- (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
+ (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
* config/arm/arm.c (current_function_anonymous_args): Delete,
- replace uses with cfun->machine->uses_anonymous_args.
- (arm_reorg): Do not reset uses_anonymous_args.
+ replace uses with cfun->machine->uses_anonymous_args.
+ (arm_reorg): Do not reset uses_anonymous_args.
* config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
any geenral register.
@@ -2766,8 +2771,8 @@ Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
- * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
- constant pool to be identical by string address and index.
+ * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
+ constant pool to be identical by string address and index.
2002-02-04 Anthony Green <green@redhat.com>
@@ -2922,18 +2927,18 @@ doc:
2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
- * config/stormy16/stormy16.md (pushqi): New.
- (popqi): New.
- (pushhi): New.
- (pophi): New.
- (movhi): Remove stack operands.
- (movqi): Likewise.
- * config/stormy16/stormy16.h (PREDICATE_CODES): Add
- nonimmediate_nonstack_operand.
- * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
- New.
- * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
- New.
+ * config/stormy16/stormy16.md (pushqi): New.
+ (popqi): New.
+ (pushhi): New.
+ (pophi): New.
+ (movhi): Remove stack operands.
+ (movqi): Likewise.
+ * config/stormy16/stormy16.h (PREDICATE_CODES): Add
+ nonimmediate_nonstack_operand.
+ * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
+ New.
+ * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
+ New.
2002-01-31 Jason Merrill <jason@redhat.com>
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index fc78c57..0a354d6 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -5731,11 +5731,14 @@ print_operand (file, x, code)
case 'z':
/* 387 opcodes don't get size suffixes if the operands are
registers. */
-
if (STACK_REG_P (x))
return;
- /* this is the size of op from size of operand */
+ /* Likewise if using Intel opcodes. */
+ if (ASSEMBLER_DIALECT == ASM_INTEL)
+ return;
+
+ /* This is the size of op from size of operand. */
switch (GET_MODE_SIZE (GET_MODE (x)))
{
case 2: