* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
flag the general-purpose registers as floating-point on targets that don't support the floating-point registers.
This commit is contained in:
parent
e1b73efd99
commit
e5451d58f4
@ -1,3 +1,9 @@
|
||||
2002-08-20 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
|
||||
flag the general-purpose registers as floating-point on targets
|
||||
that don't support the floating-point registers.
|
||||
|
||||
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* rs6000-tdep.c (altivec_register_p): Delete.
|
||||
|
@ -114,7 +114,7 @@ struct gdbarch_tdep
|
||||
#define FOP_REGNUM (FPC_REGNUM + 7)
|
||||
|
||||
/* Return non-zero if N corresponds to a FPU data registers. */
|
||||
#define FP_REGNUM_P(n) (FP0_REGNUM <= (n) && (n) < FPC_REGNUM)
|
||||
#define FP_REGNUM_P(n) (FP0_REGNUM && FP0_REGNUM <= (n) && (n) < FPC_REGNUM)
|
||||
|
||||
/* Return non-zero if N corresponds to a FPU control register. */
|
||||
#define FPC_REGNUM_P(n) (FPC_REGNUM <= (n) && (n) < XMM0_REGNUM)
|
||||
|
Loading…
Reference in New Issue
Block a user