[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue wh
From: |
Carl Hauser |
Subject: |
Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps |
Date: |
Fri, 16 Aug 2024 15:58:36 -0700 |
User-agent: |
Mozilla Thunderbird |
Yes, but ...
isn't the state of dc->fsr_qne at translation time irrelevant?
And changing it at translation time (line 4593) is dangerous
(because it pertains to runtime, not translation time); i.e. why
is 0 stored at both translation time (4593) and at runtime (4591)?
I think that the if on line 4583 needs to be a run-time test. But
I get very tangled up in these distinctions. For me, generating a
call to a helper function instead of trying to generate all the
correct logic made it easier to keep straight what was happening.
On 8/16/24 15:05, Richard Henderson
wrote:
On
8/17/24 07:46, Carl Hauser wrote:
OK, I think the problem is the handling of
dc->fsr_qne in trans_STDFQ, lines 4583 and 4593 -- the code
is evaluating dc->fsr_qne at translation time and not at
runtime.
That's what patch 4 does, ensure that the runtime value is
available at translation time.
r~
- [PATCH v3 1/6] target/sparc: Restrict STQF to sparcv9, (continued)
- [PATCH v3 1/6] target/sparc: Restrict STQF to sparcv9, Richard Henderson, 2024/08/16
- [PATCH v3 2/6] target/sparc: Add FQ and FSR.QNE, Richard Henderson, 2024/08/16
- [PATCH v3 3/6] target/sparc: Populate sparc32 FQ when raising fp exception, Richard Henderson, 2024/08/16
- [PATCH v3 4/6] target/sparc: Add FSR_QNE to tb_flags, Richard Henderson, 2024/08/16
- [PATCH v3 5/6] target/sparc: Implement STDFQ, Richard Henderson, 2024/08/16
- [PATCH v3 6/6] target/sparc: Add gen_trap_if_nofpu_fpexception, Richard Henderson, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Carl Hauser, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Carl Hauser, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Carl Hauser, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Richard Henderson, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Carl Hauser, 2024/08/17
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps -- CORRECTION, Carl Hauser, 2024/08/17
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps -- CORRECTION, Richard Henderson, 2024/08/18
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps -- CORRECTION, Carl Hauser, 2024/08/20
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps -- CORRECTION, Richard Henderson, 2024/08/20