On 10/12/18 10:30 AM, Bastian Koppelmann wrote: > +@c_flwsp_ldsp ... . ..... ..... .. &c_flwsp_ldsp uimm_flwsp=%uimm_6bit_lw > \ > + uimm_ldsp=%uimm_6bit_ld %rd > +@c_fswsp_sdsp ... . ..... ..... .. &c_fswsp_sdsp uimm_fswsp=%uimm_6bit_sw > \ > + uimm_sdsp=%uimm_6bit_sd rs2=%rs2_5
I'm not especially keen about decoding the same bits twice. I wonder if it's better to call the proper extract_foo function within the trans_ function like you do elsewhere. Written as c_flwsp_ldsp 011 - ----- ----- 10 r~