[RV64_DYNAREC] config vector before VLE in sse_get_reg_vector#3624
[RV64_DYNAREC] config vector before VLE in sse_get_reg_vector#3624ptitSeb merged 1 commit intoptitSeb:mainfrom
Conversation
|
box64/src/dynarec/rv64/dynarec_rv64_660f_vector.c Lines 508 to 521 in 24065ff Line 520: The if condition is not met, not SET_ELEMENT_WIDTH here box64/src/dynarec/rv64/dynarec_rv64_helper.h Lines 454 to 462 in 24065ff Line 456: GETEX_vector calls sse_get_reg_vector. My initial thought was to remove the |
ksco
left a comment
There was a problem hiding this comment.
My initial thought was to remove the if (!MODREG) condition in instructions like PMOVSXBW, always SET_ELEMENT_WIDTH. However, it seems cleaner to add SET_ELEMENT_WIDTH directly inside sse_get_reg_vector, and it also avoids potential bugs in other places that call sse_get_reg_vector without SET_ELEMENT_WIDTH first.
Thanks. SET_ELEMENT_WIDTH is not free, I think it's better to keep it explicit, so replacing all the if (!MODREG) SET_ELEMENT_WIDTH(x1, VECTOR_SEW8, 1); with SET_ELEMENT_WIDTH(x1, VECTOR_SEW8, 1); is preferred.
|
I have another concern: what do you think? |
Oh yeah, indeed. We need some |
|
thanks, make sense, I will add |
3548b05 to
8c7bff7
Compare
PMOV not read 128bit, need GETEX64/GETEX32/GETEX16
8c7bff7 to
838a84f
Compare
No description provided.