Lines Matching refs:insn

288 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf)  in edge()  argument
293 maybe_flush_windows(RS1(insn), RS2(insn), RD(insn), 0); in edge()
294 orig_rs1 = rs1 = fetch_reg(RS1(insn), regs); in edge()
295 orig_rs2 = rs2 = fetch_reg(RS2(insn), regs); in edge()
344 store_reg(regs, rd_val, RD(insn)); in edge()
366 static void array(struct pt_regs *regs, unsigned int insn, unsigned int opf) in array() argument
371 maybe_flush_windows(RS1(insn), RS2(insn), RD(insn), 0); in array()
372 rs1 = fetch_reg(RS1(insn), regs); in array()
373 rs2 = fetch_reg(RS2(insn), regs); in array()
397 store_reg(regs, rd_val, RD(insn)); in array()
400 static void bmask(struct pt_regs *regs, unsigned int insn) in bmask() argument
404 maybe_flush_windows(RS1(insn), RS2(insn), RD(insn), 0); in bmask()
405 rs1 = fetch_reg(RS1(insn), regs); in bmask()
406 rs2 = fetch_reg(RS2(insn), regs); in bmask()
409 store_reg(regs, rd_val, RD(insn)); in bmask()
416 static void bshuffle(struct pt_regs *regs, unsigned int insn) in bshuffle() argument
424 rs1 = fpd_regval(f, RS1(insn)); in bshuffle()
425 rs2 = fpd_regval(f, RS2(insn)); in bshuffle()
439 *fpd_regaddr(f, RD(insn)) = rd_val; in bshuffle()
442 static void pdist(struct pt_regs *regs, unsigned int insn) in pdist() argument
448 rs1 = fpd_regval(f, RS1(insn)); in pdist()
449 rs2 = fpd_regval(f, RS2(insn)); in pdist()
450 rd = fpd_regaddr(f, RD(insn)); in pdist()
471 static void pformat(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pformat() argument
482 rs2 = fpd_regval(f, RS2(insn)); in pformat()
497 *fps_regaddr(f, RD(insn)) = rd_val; in pformat()
504 rs1 = fpd_regval(f, RS1(insn)); in pformat()
505 rs2 = fpd_regval(f, RS2(insn)); in pformat()
520 *fpd_regaddr(f, RD(insn)) = rd_val; in pformat()
527 rs2 = fpd_regval(f, RS2(insn)); in pformat()
543 *fps_regaddr(f, RD(insn)) = rd_val; in pformat()
550 rs2 = fps_regval(f, RS2(insn)); in pformat()
561 *fpd_regaddr(f, RD(insn)) = rd_val; in pformat()
566 rs1 = fps_regval(f, RS1(insn)); in pformat()
567 rs2 = fps_regval(f, RS2(insn)); in pformat()
577 *fpd_regaddr(f, RD(insn)) = rd_val; in pformat()
583 static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pmul() argument
592 rs1 = fps_regval(f, RS1(insn)); in pmul()
593 rs2 = fpd_regval(f, RS2(insn)); in pmul()
608 *fpd_regaddr(f, RD(insn)) = rd_val; in pmul()
617 rs1 = fps_regval(f, RS1(insn)); in pmul()
618 rs2 = fps_regval(f, RS2(insn)); in pmul()
633 *fpd_regaddr(f, RD(insn)) = rd_val; in pmul()
641 rs1 = fpd_regval(f, RS1(insn)); in pmul()
642 rs2 = fpd_regval(f, RS2(insn)); in pmul()
663 *fpd_regaddr(f, RD(insn)) = rd_val; in pmul()
671 rs1 = fps_regval(f, RS1(insn)); in pmul()
672 rs2 = fps_regval(f, RS2(insn)); in pmul()
693 *fpd_regaddr(f, RD(insn)) = rd_val; in pmul()
699 static void pcmp(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pcmp() argument
704 rs1 = fpd_regval(f, RS1(insn)); in pcmp()
705 rs2 = fpd_regval(f, RS2(insn)); in pcmp()
791 maybe_flush_windows(0, 0, RD(insn), 0); in pcmp()
792 store_reg(regs, rd_val, RD(insn)); in pcmp()
798 int vis_emul(struct pt_regs *regs, unsigned int insn) in vis_emul() argument
810 if (get_user(insn, (u32 __user *) pc)) in vis_emul()
815 opf = (insn & VIS_OPF_MASK) >> VIS_OPF_SHIFT; in vis_emul()
826 pformat(regs, insn, opf); in vis_emul()
837 pmul(regs, insn, opf); in vis_emul()
849 pcmp(regs, insn, opf); in vis_emul()
865 edge(regs, insn, opf); in vis_emul()
870 pdist(regs, insn); in vis_emul()
877 array(regs, insn, opf); in vis_emul()
882 bmask(regs, insn); in vis_emul()
886 bshuffle(regs, insn); in vis_emul()