Skip to content

Commit

Permalink
according to SDM for VSCALEF* instructions, denormal is not reported …
Browse files Browse the repository at this point in the history
…for Src2
  • Loading branch information
Stanislav Shwartsman committed Nov 1, 2024
1 parent b1ea77b commit c09656d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions bochs/cpu/softfloat3e/f32_scalef.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ float32 f32_scalef(float32 a, float32 b, struct softfloat_status_t *status)
/*------------------------------------------------------------------------
*------------------------------------------------------------------------*/
if (expB <= 0x7E) {
if (! expB)
softfloat_raiseFlags(status, softfloat_flag_denormal);
scale = -signB;
}
else {
Expand Down
2 changes: 0 additions & 2 deletions bochs/cpu/softfloat3e/f64_scalef.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ float64 f64_scalef(float64 a, float64 b, struct softfloat_status_t *status)
/*------------------------------------------------------------------------
*------------------------------------------------------------------------*/
if (expB < 0x3FF) {
if (expB == 0)
softfloat_raiseFlags(status, softfloat_flag_denormal);
scale = -signB;
}
else {
Expand Down

0 comments on commit c09656d

Please sign in to comment.