On 3/24/20 3:51 AM, LIU Zhiwei wrote: >> (3) It would be handy to have TCGv cpu_vl. > Do you mean I should define cpu_vl as a global TCG varible like cpu_pc? > So that I can check vl==0 in translation time.
Yes. >> vslide1up.vx: >> Ho hum, I forgot about masking. Some options: >> (1) Call a helper just as you did in your original patch. >> (2) Call a helper only for !vm, for vm as below. > > Sorry, I don't get it why I need a helper for !vm. > I think I can call vslideup w/1 whether !vm or vm, then a store to vd[0]. That's right. I didn't mean a helper specific to vslide1up, but any helper. r~