Lines Matching refs:ra
454 unsigned ra:5; member
462 emit_x(struct ppc_function *p, uint op, uint vrs, uint ra, uint rb, uint op2, in emit_x() argument
468 inst.inst.ra = ra; in emit_x()
475 printf(format, vrs, ra, rb); in emit_x()
485 unsigned ra:5; member
491 emit_d(struct ppc_function *p, uint op, uint rt, uint ra, int si, in emit_d() argument
499 inst.inst.ra = ra; in emit_d()
505 printf(format, rt, si, ra); in emit_d()
507 printf(format, rt, ra, si); in emit_d()
550 unsigned ra:5; member
559 emit_xo(struct ppc_function *p, uint op, uint rt, uint ra, uint rb, uint oe, in emit_xo() argument
565 inst.inst.ra = ra; in emit_xo()
573 printf(format, rt, ra, rb); in emit_xo()
864 ppc_addi(struct ppc_function *p, uint rt, uint ra, int imm) in ppc_addi() argument
866 emit_d(p, 14, rt, ra, imm, "addi\tr%u, r%u, %d\n", FALSE); in ppc_addi()
871 ppc_addis(struct ppc_function *p, uint rt, uint ra, int imm) in ppc_addis() argument
873 emit_d(p, 15, rt, ra, imm, "addis\tr%u, r%u, %d\n", FALSE); in ppc_addis()
878 ppc_add(struct ppc_function *p, uint rt, uint ra, uint rb) in ppc_add() argument
880 emit_xo(p, 31, rt, ra, rb, 0, 266, 0, "add\tr%u, r%u, r%u\n"); in ppc_add()
885 ppc_and(struct ppc_function *p, uint rt, uint ra, uint rb) in ppc_and() argument
887 emit_x(p, 31, ra, rt, rb, 28, "and\tr%u, r%u, r%u\n"); /* note argument order */ in ppc_and()
892 ppc_andi(struct ppc_function *p, uint rt, uint ra, int imm) in ppc_andi() argument
895 emit_d(p, 28, ra, rt, imm, "andi\tr%u, r%u, %d\n", FALSE); in ppc_andi()
900 ppc_or(struct ppc_function *p, uint rt, uint ra, uint rb) in ppc_or() argument
902 emit_x(p, 31, ra, rt, rb, 444, "or\tr%u, r%u, r%u\n"); /* note argument order */ in ppc_or()
907 ppc_ori(struct ppc_function *p, uint rt, uint ra, int imm) in ppc_ori() argument
910 emit_d(p, 24, ra, rt, imm, "ori\tr%u, r%u, %d\n", FALSE); in ppc_ori()
915 ppc_xor(struct ppc_function *p, uint rt, uint ra, uint rb) in ppc_xor() argument
917 emit_x(p, 31, ra, rt, rb, 316, "xor\tr%u, r%u, r%u\n"); /* note argument order */ in ppc_xor()
922 ppc_xori(struct ppc_function *p, uint rt, uint ra, int imm) in ppc_xori() argument
925 emit_d(p, 26, ra, rt, imm, "xori\tr%u, r%u, %d\n", FALSE); in ppc_xori()
930 ppc_mr(struct ppc_function *p, uint rt, uint ra) in ppc_mr() argument
932 ppc_or(p, rt, ra, ra); in ppc_mr()
975 ppc_stwu(struct ppc_function *p, uint rs, uint ra, int d) in ppc_stwu() argument
977 emit_d(p, 37, rs, ra, d, "stwu\tr%u, %d(r%u)\n", TRUE); in ppc_stwu()
982 ppc_stw(struct ppc_function *p, uint rs, uint ra, int d) in ppc_stw() argument
984 emit_d(p, 36, rs, ra, d, "stw\tr%u, %d(r%u)\n", TRUE); in ppc_stw()
989 ppc_lwz(struct ppc_function *p, uint rt, uint ra, int d) in ppc_lwz() argument
991 emit_d(p, 32, rt, ra, d, "lwz\tr%u, %d(r%u)\n", TRUE); in ppc_lwz()
1023 ppc_stfs(struct ppc_function *p, uint frs, uint ra, int offset) in ppc_stfs() argument
1025 emit_d(p, 52, frs, ra, offset, "stfs\tr%u, %d(r%u)\n", TRUE); in ppc_stfs()
1030 ppc_stfiwx(struct ppc_function *p, uint frs, uint ra, uint rb) in ppc_stfiwx() argument
1032 emit_x(p, 31, frs, ra, rb, 983, "stfiwx\tr%u, r%u, r%u\n"); in ppc_stfiwx()
1037 ppc_lfs(struct ppc_function *p, uint frt, uint ra, int offset) in ppc_lfs() argument
1039 emit_d(p, 48, frt, ra, offset, "stfs\tr%u, %d(r%u)\n", TRUE); in ppc_lfs()