Lines Matching refs:lreg
168 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_unrestricted() argument
184 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_unrestricted()
185 swreg_type(lreg) != NN_REG_NONE) in swreg_to_unrestricted()
188 if (swreg_type(lreg) == NN_REG_GPR_B || in swreg_to_unrestricted()
191 reg->breg = nfp_swreg_to_unreg(lreg, false); in swreg_to_unrestricted()
194 reg->areg = nfp_swreg_to_unreg(lreg, false); in swreg_to_unrestricted()
199 reg->src_lmextn = swreg_lmextn(lreg) | swreg_lmextn(rreg); in swreg_to_unrestricted()
249 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_restricted() argument
265 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_restricted()
266 swreg_type(lreg) != NN_REG_NONE) in swreg_to_restricted()
269 if (swreg_type(lreg) == NN_REG_GPR_B || in swreg_to_restricted()
272 reg->breg = nfp_swreg_to_rereg(lreg, false, has_imm8, ®->i8); in swreg_to_restricted()
275 reg->areg = nfp_swreg_to_rereg(lreg, false, has_imm8, ®->i8); in swreg_to_restricted()
280 reg->src_lmextn = swreg_lmextn(lreg) | swreg_lmextn(rreg); in swreg_to_restricted()