aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_normSubnormalF16Sig.c
diff options
context:
space:
mode:
authorfborisovskii <55748210+fborisovskii@users.noreply.github.com>2019-09-27 19:48:49 +0300
committerAndrew Waterman <andrew@sifive.com>2019-09-27 09:48:49 -0700
commit9443c1dbac0301faf3a47c5e6914cc7dcb34983e (patch)
treed2cbb1112384eb150e0fcbc5739bf290d12b1816 /softfloat/s_normSubnormalF16Sig.c
parenta515af6d3bb5146a0a68cf88adf032fe78ba4ead (diff)
downloadspike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.zip
spike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.tar.gz
spike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.tar.bz2
Fixed match trigger MATCH_NAPOT case. (#335)
Mask calculation was not in consistency with debug spec. Watch debug spec. 5.2.7 match field overview and debug spec. B.9 fourth example. Mask should not cover LSB zero bit. Also there is a way to make it simplier: reg_t mask = ~(((~state.tdata2[i]) - 1) ^ ~state.tdata2[i]);
Diffstat (limited to 'softfloat/s_normSubnormalF16Sig.c')
0 files changed, 0 insertions, 0 deletions