On 2023/6/28 5:07 PM, Richard Henderson wrote:
You can eliminate the vstart % EGS test, and the vstart < vl test, when
VSTART_EQ_ZERO.
You can eliminate the vl % EGS test when VL_EQ_VLMAX.
You could move all of these tests out of line, into a helper_foo_chk() function which
performs the checks and then calls helper_foo().
Hi Richard
Thank you for the suggestion.
I'll provide the v7 patch set with this suggestion.
But I have an question about the vstart < vl test.
I think that we can't eliminate the vstart < vl test when both the vstart and vl are equal
to zero.
Although this situation means that the instructions will do nothing.