diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-08-09 19:32:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-08-09 19:32:49 +0000 |
commit | 27a53b88d713381cd5abbb8c5aca0b36c864010e (patch) | |
tree | 1f578ad70dd204e5eeee5212b4b7efb413958a31 /gas/config/m68k-parse.h | |
parent | 51a3bc15018f98230bd538cac6f6e490beff51f5 (diff) | |
download | gdb-27a53b88d713381cd5abbb8c5aca0b36c864010e.zip gdb-27a53b88d713381cd5abbb8c5aca0b36c864010e.tar.gz gdb-27a53b88d713381cd5abbb8c5aca0b36c864010e.tar.bz2 |
* config/tc-m68k.c (m68k_float_copnum): New static variable.
(md_pseudo_table): Add fopt and mask2.
(m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
coprocessor register to use. In case 'I' when checking operands,
correct coprocessor register numbers. In case 'I' when setting
operands, don't add 1.
(s_fopt): New static function.
* config/m68k-parse.h (COPNUM): Don't define.
Diffstat (limited to 'gas/config/m68k-parse.h')
-rw-r--r-- | gas/config/m68k-parse.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gas/config/m68k-parse.h b/gas/config/m68k-parse.h index 128944c..95a1cd8 100644 --- a/gas/config/m68k-parse.h +++ b/gas/config/m68k-parse.h @@ -38,7 +38,6 @@ #define DATA DATA0 #define ADDR ADDR0 #define SP ADDR7 -#define COPNUM COP0 #define BAD BAD0 #define BAC BAC0 @@ -71,10 +70,7 @@ enum m68k_register FP6, FP7, - /* Note that COP0==processor #1 -- COP0+7==#8, which stores as 000 */ - /* I think. . . */ - - COP0, /* Co-processor #1-#8 */ + COP0, /* Co-processor #0-#7 */ COP1, COP2, COP3, |