1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-24 10:31:44 +02:00

(compile_reg): Fix typo: treat f0 and f1 like scratch registers.

(Logical change 1.230)
This commit is contained in:
hp.com!davidm 2004-05-06 20:25:09 +00:00
parent 5db79b888d
commit 32dd2e2218

View file

@ -327,7 +327,7 @@ compile_reg (struct ia64_state_record *sr, int i, struct ia64_reg_info *r,
(indepent of is_preserved_gr), because for floating-point
NaTs are represented as NaTVal, so the NaT-info never
needs to be consulated. */
if (rval <= 5)
if (rval >= 2 && rval <= 5)
val = IA64_REG_F2 + (rval - 2);
else if (rval >= 16 && rval <= 31)
val = IA64_REG_F16 + (rval - 16);