You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, any register can be passed to compressed instructions and the instruction will assemble successfully - this is an error; only a subset of the registers can be referenced in the compressed instructions.
This should be caught by the Register class itself when it's trying to write a value that is larger than the bitrange which has been assigned to that register. Currently, any value can be returned from m_isa->regNumber(regToken, success); and applied successfully:
Currently, any register can be passed to compressed instructions and the instruction will assemble successfully - this is an error; only a subset of the registers can be referenced in the compressed instructions.
This should be caught by the
Register
class itself when it's trying to write a value that is larger than the bitrange which has been assigned to that register. Currently, any value can be returned fromm_isa->regNumber(regToken, success);
and applied successfully:Ripes/src/assembler/instruction.h
Lines 143 to 148 in 9a708c2
This "might" be an issue with the
BitRange
itself given that it doesn't check whether a value is wider than its mask:https://github.com/mortbopet/Ripes/blob/master/src/assembler/instruction.h#L30
The text was updated successfully, but these errors were encountered: