This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Printing decimal128 types out of registers


> But they're pseudo-registers; no target "supports" them because
> they're not real registers.  Are you trying to say that some targets
> have hardware support for decimal floating point, and you want to make
> sure that these pseudo registers only show up on targets that have
> such hardware support?  If so I'd appreciate it if you could change
> the comments to reflect that.

The idea is to have a "decimal128" feature meaning that we're supposed
to show these pseudo-registers for ppc32 and ppc64, similar to the way
the EV registers work on the e500, except that we have (in the e500) 32
of those being real registers and the other 32 being pseudo-registers.
All those 64 registers sum up to create a single set of 32 64-bit
registers (power-spe feature).

> There are no software implementations that use the floating-point
> registers in the same way as the hardware implementation does?

Yes, there is. This would work the same way with software
implementations, that is, we would have the same parameter passing
scheme using pairs of FP registers.

-- 
Luis Machado
Software Engineer 
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]