Lines Matching refs:newtok
1248 expressionS newtok[3]; in load_expression() local
1283 set_tok_reg (newtok[0], AXP_REG_AT); in load_expression()
1286 set_tok_reg (newtok[0], targreg); in load_expression()
1288 set_tok_sym (newtok[1], alpha_lita_symbol, lit); in load_expression()
1289 set_tok_preg (newtok[2], alpha_gp_register); in load_expression()
1291 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1307 set_tok_reg (newtok[0], AXP_REG_AT); in load_expression()
1310 set_tok_reg (newtok[0], targreg); in load_expression()
1319 newtok[1] = *exp; in load_expression()
1323 set_tok_sym (newtok[1], exp->X_add_symbol, 0); in load_expression()
1325 set_tok_preg (newtok[2], alpha_gp_register); in load_expression()
1327 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1339 set_tok_reg (newtok[0], targreg); in load_expression()
1343 set_tok_const (newtok[1], addend); in load_expression()
1348 set_tok_const (newtok[1], 0); in load_expression()
1350 set_tok_preg (newtok[2], basereg); in load_expression()
1351 assemble_tokens_to_insn ("lda", newtok, 3, &insn); in load_expression()
1364 set_tok_reg (newtok[0], targreg); in load_expression()
1366 newtok[1] = *exp; in load_expression()
1367 newtok[1].X_op = O_subtract; in load_expression()
1368 newtok[1].X_op_symbol = alpha_evax_proc->symbol; in load_expression()
1370 set_tok_preg (newtok[2], basereg); in load_expression()
1371 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1448 set_tok_reg (newtok[0], targreg); in load_expression()
1449 set_tok_sym (newtok[1], linkexp, 0); in load_expression()
1450 set_tok_preg (newtok[2], basereg); in load_expression()
1451 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1463 set_tok_reg (newtok[1], basereg); in load_expression()
1464 set_tok_reg (newtok[2], targreg); in load_expression()
1465 assemble_tokens ("addq", newtok, 3, 0); in load_expression()
1479 set_tok_reg (newtok[0], targreg); in load_expression()
1480 newtok[1] = *exp; in load_expression()
1481 set_tok_preg (newtok[2], basereg); in load_expression()
1482 assemble_tokens (opname, newtok, 3, 0); in load_expression()
1515 set_tok_reg (newtok[0], targreg); in load_expression()
1516 set_tok_sym (newtok[1], litexp, 0); in load_expression()
1517 set_tok_preg (newtok[2], alpha_gp_register); in load_expression()
1518 assemble_tokens ("ldq", newtok, 3, 0); in load_expression()
1548 set_tok_reg (newtok[0], AXP_REG_AT); in load_expression()
1551 set_tok_reg (newtok[0], targreg); in load_expression()
1553 set_tok_sym (newtok[1], alpha_lita_symbol, alpha_lit8_literal); in load_expression()
1556 set_tok_sym (newtok[1], alpha_lit8_symbol, 0x8000); in load_expression()
1558 set_tok_preg (newtok[2], alpha_gp_register); in load_expression()
1560 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1575 set_tok_const (newtok[1], lit); in load_expression()
1576 set_tok_preg (newtok[2], newtok[0].X_add_number); in load_expression()
1578 assemble_tokens_to_insn ("ldq", newtok, 3, &insn); in load_expression()
1593 set_tok_reg (newtok[1], basereg); in load_expression()
1594 set_tok_reg (newtok[2], targreg); in load_expression()
1595 assemble_tokens ("addq", newtok, 3, 0); in load_expression()
1622 set_tok_reg (newtok[0], targreg); in load_expression()
1623 set_tok_preg (newtok[2], basereg); in load_expression()
1628 set_tok_const (newtok[1], extra); in load_expression()
1629 assemble_tokens ("ldah", newtok, 3, 0); in load_expression()
1630 set_tok_preg (newtok[2], basereg = targreg); in load_expression()
1636 set_tok_const (newtok[1], high); in load_expression()
1637 assemble_tokens ("ldah", newtok, 3, 0); in load_expression()
1639 set_tok_preg (newtok[2], basereg); in load_expression()
1645 set_tok_const (newtok[1], low); in load_expression()
1646 assemble_tokens ("lda", newtok, 3, 0); in load_expression()
1686 expressionS newtok[3]; in emit_ldah() local
1688 newtok[0] = tok[0]; in emit_ldah()
1689 newtok[1] = tok[1]; in emit_ldah()
1690 set_tok_preg (newtok[2], AXP_REG_ZERO); in emit_ldah()
1692 assemble_tokens ("ldah", newtok, 3, 0); in emit_ldah()
2175 expressionS newtok[3]; in emit_ir_load() local
2187 &basereg, &newtok[1], (const char *) opname); in emit_ir_load()
2193 newtok[0] = tok[0]; in emit_ir_load()
2194 set_tok_preg (newtok[2], basereg); in emit_ir_load()
2196 assemble_tokens_to_insn ((const char *) opname, newtok, 3, &insn); in emit_ir_load()
2220 expressionS newtok[3]; in emit_loadstore() local
2234 &basereg, &newtok[1], (const char *) opname); in emit_loadstore()
2238 newtok[1] = tok[1]; in emit_loadstore()
2242 newtok[0] = tok[0]; in emit_loadstore()
2243 set_tok_preg (newtok[2], basereg); in emit_loadstore()
2245 assemble_tokens_to_insn ((const char *) opname, newtok, 3, &insn); in emit_loadstore()
2270 expressionS newtok[3]; in emit_ldXu() local
2288 newtok[0] = tok[0]; in emit_ldXu()
2289 set_tok_const (newtok[1], 0); in emit_ldXu()
2290 set_tok_preg (newtok[2], basereg); in emit_ldXu()
2291 assemble_tokens_to_insn ("ldq_u", newtok, 3, &insn); in emit_ldXu()
2305 set_tok_reg (newtok[1], basereg); in emit_ldXu()
2306 newtok[2] = newtok[0]; in emit_ldXu()
2307 assemble_tokens_to_insn (extXl_op[(long) vlgsize], newtok, 3, &insn); in emit_ldXu()
2342 expressionS newtok[3]; in emit_uldXu() local
2348 memcpy (newtok, tok, sizeof (expressionS) * ntok); in emit_uldXu()
2349 newtok[0].X_add_number = AXP_REG_AT; in emit_uldXu()
2350 assemble_tokens ("lda", newtok, ntok, 1); in emit_uldXu()
2353 set_tok_reg (newtok[0], AXP_REG_T9); in emit_uldXu()
2354 set_tok_const (newtok[1], 0); in emit_uldXu()
2355 set_tok_preg (newtok[2], AXP_REG_AT); in emit_uldXu()
2356 assemble_tokens ("ldq_u", newtok, 3, 1); in emit_uldXu()
2359 set_tok_reg (newtok[0], AXP_REG_T10); in emit_uldXu()
2360 set_tok_const (newtok[1], (1 << lgsize) - 1); in emit_uldXu()
2361 assemble_tokens ("ldq_u", newtok, 3, 1); in emit_uldXu()
2364 set_tok_reg (newtok[0], AXP_REG_T9); in emit_uldXu()
2365 set_tok_reg (newtok[1], AXP_REG_AT); in emit_uldXu()
2366 set_tok_reg (newtok[2], AXP_REG_T9); in emit_uldXu()
2367 assemble_tokens (extXl_op[lgsize], newtok, 3, 1); in emit_uldXu()
2370 set_tok_reg (newtok[0], AXP_REG_T10); in emit_uldXu()
2371 set_tok_reg (newtok[2], AXP_REG_T10); in emit_uldXu()
2372 assemble_tokens (extXh_op[lgsize], newtok, 3, 1); in emit_uldXu()
2375 set_tok_reg (newtok[0], AXP_REG_T9); in emit_uldXu()
2376 set_tok_reg (newtok[1], AXP_REG_T10); in emit_uldXu()
2377 newtok[2] = tok[0]; in emit_uldXu()
2378 assemble_tokens ("or", newtok, 3, 1); in emit_uldXu()
2401 expressionS newtok[2]; in emit_ldil() local
2403 memcpy (newtok, tok, sizeof (newtok)); in emit_ldil()
2404 newtok[1].X_add_number = sign_extend_32 (tok[1].X_add_number); in emit_ldil()
2406 assemble_tokens ("lda", newtok, ntok, 1); in emit_ldil()
2422 expressionS newtok[3]; in emit_stX() local
2440 set_tok_reg (newtok[0], AXP_REG_T9); in emit_stX()
2441 set_tok_const (newtok[1], 0); in emit_stX()
2442 set_tok_preg (newtok[2], basereg); in emit_stX()
2443 assemble_tokens_to_insn ("ldq_u", newtok, 3, &insn); in emit_stX()
2457 newtok[0] = tok[0]; in emit_stX()
2458 set_tok_reg (newtok[1], basereg); in emit_stX()
2459 set_tok_reg (newtok[2], AXP_REG_T10); in emit_stX()
2460 assemble_tokens_to_insn (insXl_op[lgsize], newtok, 3, &insn); in emit_stX()
2474 set_tok_reg (newtok[0], AXP_REG_T9); in emit_stX()
2475 newtok[2] = newtok[0]; in emit_stX()
2476 assemble_tokens_to_insn (mskXl_op[lgsize], newtok, 3, &insn); in emit_stX()
2490 set_tok_reg (newtok[1], AXP_REG_T10); in emit_stX()
2491 assemble_tokens ("or", newtok, 3, 1); in emit_stX()
2494 set_tok_const(newtok[1], 0); in emit_stX()
2495 set_tok_preg (newtok[2], AXP_REG_AT); in emit_stX()
2496 assemble_tokens_to_insn ("stq_u", newtok, 3, &insn); in emit_stX()
2519 expressionS newtok[3]; in emit_ustX() local
2522 memcpy (newtok, tok, sizeof (expressionS) * ntok); in emit_ustX()
2523 newtok[0].X_add_number = AXP_REG_AT; in emit_ustX()
2524 assemble_tokens ("lda", newtok, ntok, 1); in emit_ustX()
2527 set_tok_reg (newtok[0], AXP_REG_T9); in emit_ustX()
2528 set_tok_const (newtok[1], 0); in emit_ustX()
2529 set_tok_preg (newtok[2], AXP_REG_AT); in emit_ustX()
2530 assemble_tokens ("ldq_u", newtok, 3, 1); in emit_ustX()
2533 set_tok_reg (newtok[0], AXP_REG_T10); in emit_ustX()
2534 set_tok_const (newtok[1], (1 << lgsize) - 1); in emit_ustX()
2535 assemble_tokens ("ldq_u", newtok, 3, 1); in emit_ustX()
2538 newtok[0] = tok[0]; in emit_ustX()
2539 set_tok_reg (newtok[1], AXP_REG_AT); in emit_ustX()
2540 set_tok_reg (newtok[2], AXP_REG_T11); in emit_ustX()
2541 assemble_tokens (insXl_op[lgsize], newtok, 3, 1); in emit_ustX()
2544 set_tok_reg (newtok[2], AXP_REG_T12); in emit_ustX()
2545 assemble_tokens (insXh_op[lgsize], newtok, 3, 1); in emit_ustX()
2548 set_tok_reg (newtok[0], AXP_REG_T9); in emit_ustX()
2549 newtok[2] = newtok[0]; in emit_ustX()
2550 assemble_tokens (mskXl_op[lgsize], newtok, 3, 1); in emit_ustX()
2553 set_tok_reg (newtok[0], AXP_REG_T10); in emit_ustX()
2554 newtok[2] = newtok[0]; in emit_ustX()
2555 assemble_tokens (mskXh_op[lgsize], newtok, 3, 1); in emit_ustX()
2558 set_tok_reg (newtok[0], AXP_REG_T9); in emit_ustX()
2559 set_tok_reg (newtok[1], AXP_REG_T11); in emit_ustX()
2560 newtok[2] = newtok[0]; in emit_ustX()
2561 assemble_tokens ("or", newtok, 3, 1); in emit_ustX()
2564 set_tok_reg (newtok[0], AXP_REG_T10); in emit_ustX()
2565 set_tok_reg (newtok[1], AXP_REG_T12); in emit_ustX()
2566 newtok[2] = newtok[0]; in emit_ustX()
2567 assemble_tokens ("or", newtok, 3, 1); in emit_ustX()
2570 set_tok_reg (newtok[0], AXP_REG_T10); in emit_ustX()
2571 set_tok_const (newtok[1], (1 << lgsize) - 1); in emit_ustX()
2572 set_tok_preg (newtok[2], AXP_REG_AT); in emit_ustX()
2573 assemble_tokens ("stq_u", newtok, 3, 1); in emit_ustX()
2576 set_tok_reg (newtok[0], AXP_REG_T9); in emit_ustX()
2577 set_tok_const (newtok[1], 0); in emit_ustX()
2578 assemble_tokens ("stq_u", newtok, 3, 1); in emit_ustX()
2596 expressionS newtok[3]; in emit_sextX() local
2599 newtok[0] = tok[0]; in emit_sextX()
2600 set_tok_const (newtok[1], bitshift); in emit_sextX()
2601 newtok[2] = tok[ntok - 1]; in emit_sextX()
2602 assemble_tokens ("sll", newtok, 3, 1); in emit_sextX()
2605 newtok[0] = newtok[2]; in emit_sextX()
2606 assemble_tokens ("sra", newtok, 3, 1); in emit_sextX()
2638 expressionS newtok[3]; in emit_division() local
2655 set_tok_reg (newtok[0], AXP_REG_R16); in emit_division()
2656 set_tok_reg (newtok[1], AXP_REG_AT); in emit_division()
2657 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2659 set_tok_reg (newtok[0], AXP_REG_R17); in emit_division()
2660 set_tok_reg (newtok[1], AXP_REG_R16); in emit_division()
2661 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2663 set_tok_reg (newtok[0], AXP_REG_AT); in emit_division()
2664 set_tok_reg (newtok[1], AXP_REG_R17); in emit_division()
2665 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2671 set_tok_reg (newtok[0], AXP_REG_R16); in emit_division()
2672 set_tok_reg (newtok[1], AXP_REG_R17); in emit_division()
2673 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2678 set_tok_reg (newtok[0], xr); in emit_division()
2679 set_tok_reg (newtok[1], AXP_REG_R16); in emit_division()
2680 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2685 set_tok_reg (newtok[0], yr); in emit_division()
2686 set_tok_reg (newtok[1], AXP_REG_R17); in emit_division()
2687 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2693 set_tok_reg (newtok[0], AXP_REG_AT); in emit_division()
2694 set_tok_sym (newtok[1], sym, 0); in emit_division()
2695 assemble_tokens ("lda", newtok, 2, 1); in emit_division()
2698 set_tok_reg (newtok[0], AXP_REG_AT); in emit_division()
2699 set_tok_cpreg (newtok[1], AXP_REG_AT); in emit_division()
2700 set_tok_const (newtok[2], 0); in emit_division()
2701 assemble_tokens ("jsr", newtok, 3, 1); in emit_division()
2706 set_tok_reg (newtok[0], AXP_REG_R0); in emit_division()
2707 set_tok_reg (newtok[1], rr); in emit_division()
2708 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2734 expressionS newtok[3]; in emit_division() local
2753 set_tok_reg (newtok[0], AXP_REG_T10); in emit_division()
2754 set_tok_reg (newtok[1], AXP_REG_AT); in emit_division()
2755 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2757 set_tok_reg (newtok[0], AXP_REG_T11); in emit_division()
2758 set_tok_reg (newtok[1], AXP_REG_T10); in emit_division()
2759 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2761 set_tok_reg (newtok[0], AXP_REG_AT); in emit_division()
2762 set_tok_reg (newtok[1], AXP_REG_T11); in emit_division()
2763 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2769 set_tok_reg (newtok[0], AXP_REG_T10); in emit_division()
2770 set_tok_reg (newtok[1], AXP_REG_T11); in emit_division()
2771 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2776 set_tok_reg (newtok[0], xr); in emit_division()
2777 set_tok_reg (newtok[1], AXP_REG_T10); in emit_division()
2778 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2783 set_tok_reg (newtok[0], yr); in emit_division()
2784 set_tok_reg (newtok[1], AXP_REG_T11); in emit_division()
2785 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2790 set_tok_reg (newtok[0], AXP_REG_T9); in emit_division()
2791 set_tok_sym (newtok[1], sym, 0); in emit_division()
2792 assemble_tokens ("jsr", newtok, 2, 1); in emit_division()
2799 set_tok_reg (newtok[0], alpha_gp_register); in emit_division()
2800 set_tok_const (newtok[1], 0); in emit_division()
2801 set_tok_preg (newtok[2], AXP_REG_T9); in emit_division()
2802 assemble_tokens ("ldgp", newtok, 3, 1); in emit_division()
2808 set_tok_reg (newtok[0], AXP_REG_T12); in emit_division()
2809 set_tok_reg (newtok[1], rr); in emit_division()
2810 assemble_tokens ("mov", newtok, 2, 1); in emit_division()
2827 expressionS newtok[3]; in emit_jsrjmp() local
2836 set_tok_reg (newtok[0], r); in emit_jsrjmp()
2852 set_tok_cpreg (newtok[1], r); in emit_jsrjmp()
2856 newtok[2] = tok[tokidx]; in emit_jsrjmp()
2859 set_tok_const (newtok[2], 0); in emit_jsrjmp()
2861 assemble_tokens_to_insn (opname, newtok, 3, &insn); in emit_jsrjmp()
2922 expressionS newtok[3]; in emit_retjcr() local
2930 set_tok_reg (newtok[0], r); in emit_retjcr()
2938 set_tok_cpreg (newtok[1], r); in emit_retjcr()
2941 newtok[2] = tok[tokidx]; in emit_retjcr()
2943 set_tok_const (newtok[2], strcmp (opname, "ret") == 0); in emit_retjcr()
2945 assemble_tokens (opname, newtok, 3, 0); in emit_retjcr()
2962 expressionS newtok[3]; in emit_ldgp() local
2970 newtok[0] = tok[0]; in emit_ldgp()
2971 set_tok_const (newtok[1], 0); in emit_ldgp()
2972 newtok[2] = tok[2]; in emit_ldgp()
2974 assemble_tokens_to_insn ("ldah", newtok, 3, &insn); in emit_ldgp()
2992 set_tok_preg (newtok[2], tok[0].X_add_number); in emit_ldgp()
2994 assemble_tokens_to_insn ("lda", newtok, 3, &insn); in emit_ldgp()