-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FP Denorm ACT #36
Comments
@ptprasanna, please review this SOW and ask any questions here. The text came from @allenjbaum. He will be your primary resource on this item. We should discuss more in our next meeting. |
Updated typos in the description section. |
Comments from @allenjbaum via email:
|
@jjscheel and @allenjbaum, Had a detailed discussion with @anuani21 on this, looks like we do have the tests available and running on the given combination. It's just that the underflow flag which we failed to set on fcsr to acknowledge the result is a denorm, is bit of a gap in the development, which is been caught now. @anuani21 is working on it to fix this up. |
Thanks, @ptprasanna! Please keep working with @allenjbaum and the sig-arch-test group. |
Note that the result that is stored is NOT a denorm !
The result at some intermediate stage could be considered to be a denorm,
and then rounded up to be normalized, but the denorm flag is still set.
…On Thu, Nov 2, 2023 at 9:51 PM Prasanna T ***@***.***> wrote:
@jjscheel <https://github.com/jjscheel> and @allenjbaum
<https://github.com/allenjbaum>, Had a detailed discussion with @anuani21
<https://github.com/anuani21> on this, looks like we do have the tests
available and running on the given combination. It's just that the
underflow flag which we failed to set on fcsr to acknowledge the result is
a denorm, is bit of a gap in the development, which is been caught now.
@anuani21 <https://github.com/anuani21> is working on it to fix this up.
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJQZXDCG6SJ3DDSLKDDYCRZ5VAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRHA4TCMZQGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ptprasanna, any chance on an update here? |
@jjscheel Test generated for F,Zfh,Zfinx and Zhinx extensions and the execution is successful.Generated test case will produce a normalized result and also set an underflow flag. Tests and coverage reports for F,Zfh,Zfinx and Zhinx are placed in the below link |
Could you file a PR for this in the appropriate riscv github repo?
These should include the actual additional tests
(preferably just some new tests, not completely regenerated tests, which
are impossible to review) and new coverage files
or just point me at the PR if it's already been filed instead of to a
gitlab site.
…On Tue, Nov 28, 2023 at 12:34 AM anuani21 ***@***.***> wrote:
@jjscheel <https://github.com/jjscheel> Test generated for F,Zfh,Zfinx
and Zhinx extensions and the execution is successful.Generated test case
will produce a normalized result and also set an underflow flag.
Tests and coverage reports for F,Zfh,Zfinx and Zhinx are placed in the
below link
https://gitlab.com/ptprasanna/actreports/-/tree/main/FP_denorm?ref_type=heads
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJSJG5XNXH2FYATVA5TYGWO2TAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGMZTKNZYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@allenjbaum, I am generating test case for D, Zdinx and Q extension for the given combination. Along with the coverage report for these extensions, I will raise a PR in appropriate riscv github. |
Thanks. I've been reviewing FP coverage overall, and have some questions
about the coverage descriptions in
- riscv-isac <https://github.com/riscv-software-src/riscv-isac/tree/master>
- /riscv_isac
<https://github.com/riscv-software-src/riscv-isac/tree/master/riscv_isac>/
fp_dataset.py
Who would the right person to be to answer questions about that?
…On Sun, Dec 10, 2023 at 10:19 PM anuani21 ***@***.***> wrote:
@allenjbaum <https://github.com/allenjbaum>, I am generating test case
for D, Zdinx and Q extension for the given combination. Along with the
coverage report for these extensions, I will raise a PR in appropriate
riscv github.
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJQVIEMONQRSWLBWF7DYI2QVTAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGM4TGOJWGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jjscheel, Test generated for D extensions and the execution is successful.Generated test case will produce a normalized result and also set an underflow flag. I am generating test case for Zdinx and Q extension for the given combination.Along with coverage report for these extensions, I will a raise a PR in appropriate riscv github. |
Are you generating tests for *just* this cover point, or adding the
coverpoint(s) to the existing ones and regenerating everything?
Generating the test for *just* this coverpoint is preferred, as
otherwise it takes a very long time
…On Mon, Jan 22, 2024 at 8:12 PM anuani21 ***@***.***> wrote:
@jjscheel <https://github.com/jjscheel>, Test generated for D extensions
and the execution is successful.Generated test case will produce a
normalized result and also set an underflow flag.
I am generating test case for Zdinx and Q extension for the given
combination.Along with coverage report for these extensions, I will a raise
a PR in appropriate riscv github.
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJULEVJKSW2626WBUSLYP42BRAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGI3DCMRVG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
I am generating tests for just this coverpoints alone.Not added to the
existing tests.
For the Q extension alone, I will need to make some changes in the IBM
model for introducing flen=128 because in existing one it has a fix only
for flen 32 and 64.
Regards,
Anusha
On Tue, Jan 23, 2024 at 11:36 AM Allen Baum ***@***.***>
wrote:
… Are you generating tests for *just* this cover point, or adding the
coverpoint(s) to the existing ones and regenerating everything?
Generating the test for *just* this coverpoint is preferred, as
otherwise it takes a very long time
On Mon, Jan 22, 2024 at 8:12 PM anuani21 ***@***.***> wrote:
> @jjscheel <https://github.com/jjscheel>, Test generated for D
extensions
> and the execution is successful.Generated test case will produce a
> normalized result and also set an underflow flag.
>
> I am generating test case for Zdinx and Q extension for the given
> combination.Along with coverage report for these extensions, I will a
raise
> a PR in appropriate riscv github.
>
> —
> Reply to this email directly, view it on GitHub
> <
#36 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AHPXVJULEVJKSW2626WBUSLYP42BRAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGI3DCMRVG4>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3G6FFZI62QYORSTFMD2F7DYP5HPLAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGM2TAMBRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
great! I would make Q-extension lower priority than other work though (I
assume there is lots of other work!)
…On Mon, Jan 22, 2024 at 10:49 PM anuani21 ***@***.***> wrote:
Hi,
I am generating tests for just this coverpoints alone.Not added to the
existing tests.
For the Q extension alone, I will need to make some changes in the IBM
model for introducing flen=128 because in existing one it has a fix only
for flen 32 and 64.
Regards,
Anusha
On Tue, Jan 23, 2024 at 11:36 AM Allen Baum ***@***.***>
wrote:
> Are you generating tests for *just* this cover point, or adding the
> coverpoint(s) to the existing ones and regenerating everything?
> Generating the test for *just* this coverpoint is preferred, as
> otherwise it takes a very long time
>
> On Mon, Jan 22, 2024 at 8:12 PM anuani21 ***@***.***> wrote:
>
> > @jjscheel <https://github.com/jjscheel>, Test generated for D
> extensions
> > and the execution is successful.Generated test case will produce a
> > normalized result and also set an underflow flag.
> >
> > I am generating test case for Zdinx and Q extension for the given
> > combination.Along with coverage report for these extensions, I will a
> raise
> > a PR in appropriate riscv github.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#36 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AHPXVJULEVJKSW2626WBUSLYP42BRAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGI3DCMRVG4>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#36 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/A3G6FFZI62QYORSTFMD2F7DYP5HPLAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGM2TAMBRGY>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJTZX2J3S6C3DITTR3LYP5MPLAVCNFSM6AAAAAA5J4FNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGM4DQNBWGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jjscheel, Here are the updates from IITM, Zdinx- Three operand instructions like (fmadd,fmsub,fnmadd,fnmsub) test generated but few coverpoints are not met up.I am fixing this issue. |
@anuani21, I have set the state of the project to "Planning". I'd appreciate some outlook as to when the work will be done and confirmation that this is a "Medium" sized project (3-6 months of work). |
No progress made since last Call. Was busy on Debug ACT for Native Triggers. |
No progress made since last Call. Was busy on Debug ACT for Native Triggers. |
No progress made since last Call. Was busy on Debug ACT for Native Triggers. |
Thanks. Understand. |
Technical Group
Architecture Test SIG
ratification-pkg
all FP extensions
Technical Liaison
Allen Baum
Task Category
Arch Tests
Task Sub Category
Ratification Target
Legacy
Statement of Work (SOW)
Component names:
D,F,Q, Zfh, Zfinx, Zdinx, Zhinx
Requirements:
Add directed test cases for FP ops that generate a normalized result, but also set the underflow flag
Origin
For an obscure IEEE FP reason, it is possible to generate a normalized FP result while still setting the underflow
flag. This is because the underflow is set after rounding – but for some corner cases, two roundings can occur.
This happens when a denormalized number , after rounding, becomes the largest denorm.
When converted to a denorm format, a second rounding (if the result is odd) occurs, which can round up and
overflow for some rounding modes, and it becomes normalized.
Test Details of Required Tests
Deliverables:
Since the real requirement is generation of an internal rounded result of all 1s, which is not architecturally visible, we can’t write the coverage except to verify the output is either the smallest normalized number or the largest denorm.
Acceptance Criteria:
Projected timeframe: 3 months
SOW Signoffs: (delete those not needed)
Waiver
Pull Request Details
TBD
The text was updated successfully, but these errors were encountered: