signed ops is not working in RTL
Closed this issue · 8 comments
Probably the same issue with asr
.
I haven't test smin
yet, but I'm suspecting it's the same error.
See smax
branch.
See: https://travis-ci.com/StanfordAHA/lassen/builds/111969902
List of additional ops that doesn't work:
sltsle- smax
- smin
I suspect this is a similar issue to asr w.r.t. to polymorphism
I'll push them. I only have them on end-to-end tests. I will make unit tests.
Okay thanks, probably easiest to push them to the smax branch
Pushed. My mistake on slt
and sle
, I was using the wrong condition code. So far only smax
and smin
is not working.
Question though, why sle
and slt
doesn't have signed set in asm.py
?
That's likely a bug in the asm.py
definition, but I'm not sure what the spec is supposed to be
I do not think that SLE nor SLT needs the signed bit set. The flags should be appropriately set based off of the subtract. Possibly a bug in the flags.