emit_move_insn (*mask, gen_rtx_ASHIFT (SImode, *mask,
gen_lowpart (QImode, *shift)));
- emit_move_insn (*not_mask, gen_rtx_NOT(SImode, *mask));
+ emit_move_insn (*not_mask, gen_rtx_NOT (SImode, *mask));
}
/* Leftshift a subword within an SImode register. */
emit_move_insn (value_reg, simplify_gen_subreg (SImode, value,
mode, 0));
- emit_move_insn(*shifted_value, gen_rtx_ASHIFT (SImode, value_reg,
- gen_lowpart (QImode, shift)));
+ emit_move_insn (*shifted_value, gen_rtx_ASHIFT (SImode, value_reg,
+ gen_lowpart (QImode, shift)));
}
/* Initialize the GCC target structure. */
{
/* We have no QImode/HImode atomics, so form a mask, then use
subword_atomic_fetch_strong_nand to implement a LR/SC version of the
- operation. */
+ operation. */
/* Logic duplicated in gcc/libgcc/config/riscv/atomic.c for use when inlining
- is disabled */
+ is disabled. */
rtx old = gen_reg_rtx (SImode);
rtx mem = operands[1];
{
/* We have no QImode/HImode atomics, so form a mask, then use
subword_atomic_fetch_strong_<mode> to implement a LR/SC version of the
- operation. */
+ operation. */
/* Logic duplicated in gcc/libgcc/config/riscv/atomic.c for use when inlining
- is disabled */
+ is disabled. */
rtx old = gen_reg_rtx (SImode);
rtx mem = operands[1];
{
rtx difference = gen_rtx_MINUS (SImode, val, exp);
compare = gen_reg_rtx (SImode);
- emit_move_insn (compare, difference);
+ emit_move_insn (compare, difference);
}
if (word_mode != SImode)
{
/* We have no QImode/HImode atomics, so form a mask, then use
subword_atomic_cas_strong<mode> to implement a LR/SC version of the
- operation. */
+ operation. */
/* Logic duplicated in gcc/libgcc/config/riscv/atomic.c for use when inlining
- is disabled */
+ is disabled. */
rtx old = gen_reg_rtx (SImode);
rtx mem = operands[1];
"TARGET_ATOMIC"
{
/* We have no QImode atomics, so use the address LSBs to form a mask,
- then use an aligned SImode atomic. */
+ then use an aligned SImode atomic. */
rtx result = operands[0];
rtx mem = operands[1];
rtx model = operands[2];