Skip to content
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

[ISAC] When flen less than iflen,isac will generate error string #523

Open
Pagerd opened this issue Oct 14, 2024 · 0 comments
Open

[ISAC] When flen less than iflen,isac will generate error string #523

Pagerd opened this issue Oct 14, 2024 · 0 comments

Comments

@Pagerd
Copy link
Contributor

Pagerd commented Oct 14, 2024

In isac, the code for generating sanitise is as follows

sanitise_cvpt = lambda rm,x,iflen,flen,c,inxFlg: x + ' fcsr == '+hex(rm<<5) + ' and rm_val == 7 ' \
                + ('' if iflen == flen or inxFlg else ''.join([' and rs'+str(x)+'_nan_prefix == 0x' \
                + 'f'*int((flen-iflen)/4) for x in range(1,c+1)]))

sanitise_norm = lambda rm,x,iflen,flen,c,inxFlg: x + ' fcsr == 0'\
                + ('' if iflen == flen or inxFlg else ''.join([' and rs'+str(x)+'_nan_prefix == 0x' \
                + 'f'*int((flen-iflen)/4) for x in range(1,c+1)]))

when flen < iflen,it will generating Strings like rs0_nan_prefix == 0x it will cause ctg to report an error when generating test cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant