Lines Matching +refs:byte +refs:reg +refs:mem

65 nds32_byte_to_size (int byte)  in nds32_byte_to_size()  argument
67 switch (byte) in nds32_byte_to_size()
1116 rtx reg, mem; in nds32_emit_push_fpr_callee_saved() local
1123 reg = gen_rtx_REG (DFmode, regno); in nds32_emit_push_fpr_callee_saved()
1124 mem = gen_frame_mem (DFmode, plus_constant (Pmode, in nds32_emit_push_fpr_callee_saved()
1129 fpu_insn = emit_move_insn (mem, reg); in nds32_emit_push_fpr_callee_saved()
1138 rtx reg, mem, addr; in nds32_emit_pop_fpr_callee_saved() local
1150 reg = gen_rtx_REG (DFmode, (regno)); in nds32_emit_pop_fpr_callee_saved()
1154 mem = gen_frame_mem (DFmode, addr); in nds32_emit_pop_fpr_callee_saved()
1156 fpu_insn = emit_move_insn (reg, mem); in nds32_emit_pop_fpr_callee_saved()
1163 dwarf = alloc_reg_note (REG_CFA_RESTORE, reg, NULL_RTX); in nds32_emit_pop_fpr_callee_saved()
1178 rtx reg, mem; in nds32_emit_v3pop_fpr_callee_saved() local
1185 reg = gen_rtx_REG (DFmode, regno); in nds32_emit_v3pop_fpr_callee_saved()
1186 mem = gen_frame_mem (DFmode, plus_constant (Pmode, in nds32_emit_v3pop_fpr_callee_saved()
1191 fpu_insn = emit_move_insn (reg, mem); in nds32_emit_v3pop_fpr_callee_saved()
1192 dwarf = alloc_reg_note (REG_CFA_RESTORE, reg, NULL_RTX); in nds32_emit_v3pop_fpr_callee_saved()
1303 nds32_output_16bit_store (rtx *operands, int byte) in nds32_output_16bit_store() argument
1309 size = nds32_byte_to_size (byte); in nds32_output_16bit_store()
1346 nds32_output_16bit_load (rtx *operands, int byte) in nds32_output_16bit_load() argument
1352 size = nds32_byte_to_size (byte); in nds32_output_16bit_load()
1392 nds32_output_32bit_store (rtx *operands, int byte) in nds32_output_32bit_store() argument
1398 size = nds32_byte_to_size (byte); in nds32_output_32bit_store()
1424 "s%ci.bi\t%%1, %%0, %d", size, byte); in nds32_output_32bit_store()
1432 "s%ci.bi\t%%1, %%0, -%d", size, byte); in nds32_output_32bit_store()
1496 nds32_output_32bit_load (rtx *operands, int byte) in nds32_output_32bit_load() argument
1504 size = nds32_byte_to_size (byte); in nds32_output_32bit_load()
1530 "l%ci.bi\t%%0, %%1, %d", size, byte); in nds32_output_32bit_load()
1538 "l%ci.bi\t%%0, %%1, -%d", size, byte); in nds32_output_32bit_load()
1601 nds32_output_32bit_load_s (rtx *operands, int byte) in nds32_output_32bit_load_s() argument
1609 size = nds32_byte_to_size (byte); in nds32_output_32bit_load_s()
1635 "l%csi.bi\t%%0, %%1, %d", size, byte); in nds32_output_32bit_load_s()
1643 "l%csi.bi\t%%0, %%1, -%d", size, byte); in nds32_output_32bit_load_s()
2391 rtx mem[2]; in nds32_expand_unaligned_load() local
2392 rtx reg[2]; in nds32_expand_unaligned_load() local
2418 reg[0] = simplify_gen_subreg (SImode, operands[0], in nds32_expand_unaligned_load()
2420 reg[1] = simplify_gen_subreg (SImode, operands[0], in nds32_expand_unaligned_load()
2427 reg[0] = operands[0]; in nds32_expand_unaligned_load()
2432 sub_reg = gen_lowpart (QImode, reg[0]); in nds32_expand_unaligned_load()
2433 mem[0] = gen_rtx_MEM (QImode, plus_constant (Pmode, operands[1], offset)); in nds32_expand_unaligned_load()
2438 emit_move_insn (sub_reg, mem[0]); in nds32_expand_unaligned_load()
2439 emit_insn (gen_zero_extendqisi2 (reg[0], sub_reg)); in nds32_expand_unaligned_load()
2447 mem[1] = gen_rtx_MEM (QImode, plus_constant (Pmode, in nds32_expand_unaligned_load()
2454 emit_move_insn (temp_sub_reg, mem[1]); in nds32_expand_unaligned_load()
2457 emit_insn (gen_iorsi3 (reg[0], reg[0], temp_reg)); in nds32_expand_unaligned_load()
2463 reg[0] = reg[1]; in nds32_expand_unaligned_load()
2481 rtx mem[2]; in nds32_expand_unaligned_store() local
2482 rtx reg[2]; in nds32_expand_unaligned_store() local
2502 reg[0] = simplify_gen_subreg (SImode, operands[1], in nds32_expand_unaligned_store()
2504 reg[1] = simplify_gen_subreg (SImode, operands[1], in nds32_expand_unaligned_store()
2511 reg[0] = operands[1]; in nds32_expand_unaligned_store()
2516 sub_reg = gen_lowpart (QImode, reg[0]); in nds32_expand_unaligned_store()
2517 mem[0] = gen_rtx_MEM (QImode, plus_constant (Pmode, operands[0], offset)); in nds32_expand_unaligned_store()
2521 emit_move_insn (mem[0], sub_reg); in nds32_expand_unaligned_store()
2529 mem[1] = gen_rtx_MEM (QImode, plus_constant (Pmode, in nds32_expand_unaligned_store()
2535 emit_insn (gen_lshrsi3 (temp_reg, reg[0], in nds32_expand_unaligned_store()
2537 emit_move_insn (mem[1], temp_sub_reg); in nds32_expand_unaligned_store()
2543 reg[0] = reg[1]; in nds32_expand_unaligned_store()
2556 int reg = load_p ? 0 : 1; in nds32_output_double() local
2557 int mem = load_p ? 1 : 0; in nds32_output_double() local
2559 rtx addr = XEXP (operands[mem], 0); in nds32_output_double()
2561 otherops[0] = gen_rtx_REG (SImode, REGNO (operands[reg])); in nds32_output_double()
2562 otherops[1] = gen_rtx_REG (SImode, REGNO (operands[reg]) + 1); in nds32_output_double()
2822 int reg = load_p ? 0 : 1; in nds32_spilt_doubleword() local
2823 int mem = load_p ? 1 : 0; in nds32_spilt_doubleword() local
2833 low_part[reg] = simplify_gen_subreg (SImode, reg_rtx, GET_MODE (reg_rtx), 0); in nds32_spilt_doubleword()
2834 high_part[reg] = simplify_gen_subreg (SImode, reg_rtx, GET_MODE (reg_rtx), 4); in nds32_spilt_doubleword()
2849 low_part[mem] = gen_frame_mem (SImode, in nds32_spilt_doubleword()
2854 high_part[mem] = gen_frame_mem (SImode, in nds32_spilt_doubleword()
2875 low_part[mem] = gen_frame_mem (SImode, in nds32_spilt_doubleword()
2880 high_part[mem] = gen_frame_mem (SImode, plus_constant (Pmode, in nds32_spilt_doubleword()
2887 low_part[mem] = adjust_address (mem_rtx, SImode, 0); in nds32_spilt_doubleword()
2888 high_part[mem] = adjust_address (mem_rtx, SImode, 4); in nds32_spilt_doubleword()