aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E Wilson <wilson@specifixinc.com>2005-04-29 01:29:04 +0000
committerJim Wilson <wilson@gcc.gnu.org>2005-04-28 18:29:04 -0700
commit21bf822e8384114a2838d101beb6c414783e6c08 (patch)
tree2876f5c3de6ab4f2c44741a949643e0f8d9b211d
parenta45505d8a1c5731c4dd8c527cc5dfb9acb2c499d (diff)
downloadgcc-21bf822e8384114a2838d101beb6c414783e6c08.zip
gcc-21bf822e8384114a2838d101beb6c414783e6c08.tar.gz
gcc-21bf822e8384114a2838d101beb6c414783e6c08.tar.bz2
Fix problems noticed while reviewing patch from Alex Oliva.
* config/i386/i386.h (HI_REGISTER_NAMES): Fix typos in comment. (ADDITIONAL_REGISTER_NAMES): Delete obsolete mmx register entries. From-SVN: r98966
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.h6
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0476f7d..492dec3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-28 James E Wilson <wilson@specifixinc.com>
+
+ * config/i386/i386.h (HI_REGISTER_NAMES): Fix typos in comment.
+ (ADDITIONAL_REGISTER_NAMES): Delete obsolete mmx register entries.
+
2005-04-28 DJ Delorie <dj@redhat.com>
* opt-functions.awk (var_set): Emit proper initializer for
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 9b04fad..4ad8e2e 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1940,7 +1940,7 @@ do { \
/* How to refer to registers in assembler output.
This sequence is indexed by compiler's hard-register-number (see above). */
-/* In order to refer to the first 8 regs as 32 bit regs prefix an "e"
+/* In order to refer to the first 8 regs as 32 bit regs, prefix an "e".
For non floating point regs, the following are the HImode names.
For float regs, the stack top is sometimes referred to as "%st(0)"
@@ -1965,9 +1965,7 @@ do { \
{ "rax", 0 }, { "rdx", 1 }, { "rcx", 2 }, { "rbx", 3 }, \
{ "rsi", 4 }, { "rdi", 5 }, { "rbp", 6 }, { "rsp", 7 }, \
{ "al", 0 }, { "dl", 1 }, { "cl", 2 }, { "bl", 3 }, \
- { "ah", 0 }, { "dh", 1 }, { "ch", 2 }, { "bh", 3 }, \
- { "mm0", 8}, { "mm1", 9}, { "mm2", 10}, { "mm3", 11}, \
- { "mm4", 12}, { "mm5", 13}, { "mm6", 14}, { "mm7", 15} }
+ { "ah", 0 }, { "dh", 1 }, { "ch", 2 }, { "bh", 3 } }
/* Note we are omitting these since currently I don't know how
to get gcc to use these, since they want the same but different