Unary minus and signed right shift need to extend their arguments.
Unary minus and signed right shift need to extend their arguments.

In signed contextx, the right shift and unary minus expressions need
to be sign extended before they operate, otherwise there may be bad
results in the high bits in the greater context.
themperek/iverilog,CastMi/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog,themperek/iverilog