h make bootstrap
and make -k check, both with and without --target_board=unix{-m32},
with no new failures. Ok for mainline?
2022-06-02 Roger Sayle
gcc/ChangeLog
PR target/105791
* config/i386/sse.md (V_128_256):Add V1TI and V2TI.
(define_mode_attr avxsizesuffix): Add
ike to add the new testcase with part 2, once
we're back down to requiring only two movq instructions.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32} with
no new failures. Ok for mainline?
2022-06-02 Rog
ootstrap
and make -k check, both with and without --target_board=unix{-m32} with
no new failures. Thoughts? Ok for mainline?
2022-06-02 Roger Sayle
gcc/ChangeLog
* regcprop.cc (pass_cprop_hardreg::execute): Perform a third
iteration over each basic block that was updated
Hi Richard,
> + /* RTL expansion knows how to expand rotates using shift/or. */ if
> + (icode == CODE_FOR_nothing
> + && (code == LROTATE_EXPR || code == RROTATE_EXPR)
> + && optab_handler (ior_optab, vec_mode) != CODE_FOR_nothing
> + && optab_handler (ashl_optab, vec_mode) != C
he unpack mask operations, which matches what sse.md does for
the other mask specific (logic) operations.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32},
with no new failures. Ok for mainline?
2022-06-
this what you had in mind?
2022-06-03 Roger Sayle
Richard Biener
gcc/ChangeLog
* regcprop.cc (pass_cprop_hardreg::execute): Perform a third
iteration over each basic block that was updated by the second
iteration.
Cheers,
Roger
--
> -Origina
nd while there I also added
rtx_costs for x86_64's integer conditional move instructions (which
have single cycle latency).
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32},
with no new failures. Ok for
subdirectory as per your feedback on my previous ICE-on-invalid fixes.
This patch has been tested on x86_64-pc-linunx-gnu with make bootstrap
and make -k check with no new (unexpected) failures. Ok for mainline?
2022-06-05 Roger Sayle
gcc/cp/ChangeLog
PR c++/96442
* d
ted on x86_64-pc-linux-gnu with
make bootstrap and make -k check, both with and without
--target_board=unix{-m32}, with no new failures. Ok for mainline?
2022-06-05 Roger Sayle
Richard Biener
gcc/ChangeLog
* match.pd (convert (lshift @1 INTEGER_CST@2)): Narrow integer
now this patch keeps double word patterns consistent].
This revised patch has been retested on x86_64-pc-linux-gnu with
make bootstrap and make -k check, both with and without
--target_board=unix{-m32} with no new failures. Ok for mainline?
2022-06-05 Roger Sayle
Uroš Bizjak
tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32}
with no new failures. Ok for mainline?
2022-06-05 Roger Sayle
gcc/ChangeLog
* match.pd (convert (mult zero_one_valued_p@1 INTEGER_CST@2)):
Narrow integer mul
get/i386/pr65105-5.c now fails.
Counter-intuitively, this is progress, and pr65105-5.c may now be
fixed (without using peephole2) simply by tweaking the STV pass to
handle andn/test (in a follow-up patch).
OK for mainline?
2022-06-05 Roger Sayle
gcc/ChangeLog
* config/i386/i386.cc (ix86_rt
Hi Uros,
> > The major theme of this patch is to generalize many of i386.md's
> > *di3_doubleword patterns to become *_doubleword patterns, i.e.
> > whenever there exists a "double word" optimization for DImode with
> > -m32, there should be an equivalent TImode optimization on TARGET_64BIT.
>
>
akage. Hopefully the fix I'm testing
will cure this as
well (but an ICE is different symptom to a silent miscompilation).
Sorry again,
Roger
--
> -Original Message-
> From: Rainer Orth
> Sent: 05 June 2022 21:31
> To: Andreas Schwab
> Cc: Roger Sayle ; gcc-patches@gc
Hi Andreas,
> > gcc -std=gnu99 -c -g -gnatpg -gnatwns -gnata -W -Wall -I- -I.
> > -Iada/generated -Iada -I../../gcc/gcc/ada ../../gcc/gcc/ada/osint.adb
> > -o ada/osint.o
> > osint.adb:438:31: "strlen" not declared in "CRTL"
> > osint.adb:441:14: "strncpy" not declared in "CRTL"
> > osint.adb:6
Hi Rainer,
> > The one experiment I'd like to be able to try, to investigate the
> > cause/cure of this, is:
> >
> > diff --git a/gcc/calls.cc b/gcc/calls.cc index a4336c1..05fdd24 100644
> > --- a/gcc/calls.cc
> > +++ b/gcc/calls.cc
> > @@ -2177,7 +2177,7 @@ load_register_parameters (struct arg
oard=unix{-m32}, OK for mainline if that also passes?
My sincere apologies for the inconvenience.
2022-06-06 Roger Sayle
gcc/ChangeLog
PR middle-end/105853
PR target/105856
* calls.cc (load_register_parameters): Call store_constructor
(and int_Expr_size)
vl to the command line options.
Committed to mainline as obvious (in hindsight).
2022-06-08 Roger Sayle
gcc/testsuite/ChangeLog
* gcc.target/i386/xop-pcmov3.c: Add -mno-avx512vl to dg-options.
Roger
--
> -Original Message-
> From: skpan...@sc.intel.com
> Sent: 07 J
tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check (with no new failures), but also with
--enable-languages="ada" where it allows the bootstrap to finish,
and with no unexpected failures in the acats and gnat testsuites.
Ok for mainline?
2022-06-08 Roger Sayle
gc
k for bootstrapping and regression testing
this change without problems. Hopefully the new testcase is portable
across powerpc's effective-targets. Ok for mainline?
2022-06-17 Roger Sayle
Marek Polacek
gcc/ChangeLog
PR target/105991
* config/rs6000/rs6000.md (plus_xor)
rking evaluate it,
then revert the patch if there are any observed performance issues.
Thoughts?
2022-06-22 Roger Sayle
gcc/ChangeLog
PR target/105930
* config/i386/i386.md (*di3_doubleword): Split after
reload. Use rtx_equal_p to avoid creating memory-to-
tch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32}, with
no new failures, OK for mainline?
2022-06-24 Roger Sayle
gcc/ChangeLog
PR tree-optimization/94026
* match.pd (((X << C1) & C2) eq/
register allocator prefers to use SSE, we split
to a shufps_v4si, or if not, we use a regular shrq.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, with no new failures. Ok for mainline?
2022-06-26 Roger Sayle
gcc/ChangeLog
PR rtl
rtx_costs for "(and (not ..." (as there's no optab for
andn).
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32},
with no new failures. Ok for mainline?
2022-06-26 Roger Sayle
gcc/ChangeLog
n their targets.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check with no new failures, and on nvptx-none, where it is
the middle-end portion of a pair of patches to allow the default ISA to
be advanced. Ok for mainline?
2022-06-26 Roger Sayle
gcc/Chang
rom 5626 to 5404. Although there's an impressive reduction in
instruction count, there's no change/reduction in stack frame size.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32},
with no new failures. Ok
reasonable? [I've another patch of x86 that uses the same idiom].
This patch has been tested on powerpc64le-unknown-linux-gnu with
make bootstrap and make -k check with no new failures.
Ok for mainline?
2022-06-26 Roger Sayle
gcc/ChangeLog
* config/rs6000/rs6000.md (*r
ew failures. Ok for mainline?
2022-06-28 Roger Sayle
gcc/ChangeLog
* config/i386/i386.md (general_szext_operand): Add TImode
support using x86_64_hilo_general_operand predicate.
(*cmp_doubleword): Use x86_64_hilo_general_operand predicate.
(*add3_doubleword): I
perand wherever
we use the "r" constraint, and that's used consistently in this patch.
I hope these exceptions are acceptable. The attached revised patch has
been tested on x86_64-pc-linux-gnu with make bootstrap and make -k check
both with and with --target_board=unix{-m32} with no n
by setnc with zero extension.
gcc/testsuite/ChangeLog
PR rtl-optimization/46235
* gcc.target/i386/bt-5.c: New test.
* gcc.target/i386/bt-6.c: New test.
* gcc.target/i386/bt-7.c: New test.
Roger
--
Roger Sayle
NextMove Software
Cambridge, UK
diff --git a/gcc/config
and make -k check with no new failures.
Ok for mainline?
2021-06-20 Roger Sayle
gcc/ChangeLog
PR target/11877
* config/i386/i386.md: New define_peephole2s to shrink writing
1, 2 or 4 consecutive zeros to memory when optimizing for size.
gcc/testsuite/ChangeLo
nt splitter, either
eliminating the instruction or turning it into a simple move.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without "--target_board='unix{-m32}'"
with no new failures. OK for mainline?
2021-12-13 Rog
seems reasonable (but this patch has been tested
both with and without this last change, if it's consider controversial).
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without "--target_board='unix{-m32}'"
with no ne
(with and without RUNTESTFLAGS="--target_board='unix{-m32}'")
with no new failures. Ok for mainline?
2021-12-20 Roger Sayle
Uroš Bizjak
gcc/ChangeLog
* config/i386/i386.md (any_mul_highpart): New code iterator.
(sgnprefix, s): Add attribut
make -k check with no new failures. Ok for mainline?
2021-12-21 Roger Sayle
gcc/ChangeLog
PR target/103773
* config/i386/i386.md (*movdi_internal): Only use short
push/pop sequence for register (non-memory) destinations.
(*movsi_internal): Likewise.
gcc/testsuite
res, and the new testcase checked
both with and without -m32. Ok for mainline?
2021-12-21 Roger Sayle
gcc/ChangeLog
* gcc/config/i386/i386.md (define_peephole2): With -Oz use
andl $0,mem instead of movl $0,mem and orl $-1,mem instead of
movl $-1,mem.
as this testing included the 0/-1 write to memory changes).
Tested (overnight) on x86_64-pc-linux-gnu with make bootstrap and make -k check
with no new failures.
2021-12-22 Roger Sayle
gcc/ChangeLog
PR target/103773
* config/i386/i386.md (*movdi_internal): Only use short
c-linux-gnu with make bootstrap
and make -k check with no new failures, and the new testcase checked
both with and without -m32. Ok for mainline?
2021-12-23 Roger Sayle
Uroš Bizjak
gcc/ChangeLog
PR target/103773
* config/i386/i386.md (*mov_and): New define_insn f
64-pc-linux-gnu
(including newlib) with a make and make -k check with no new failures.
Ok for mainline?
2022-01-06 Roger Sayle
gcc/ChangeLog
* config/nvptx/nvptx.md (*cnot2): New define_insn.
gcc/testsuite/ChangeLog
* gcc.target/nvptx/cnot-1.c: New test case.
Thanks in ad
%xmm1, %xmm0
ret
Hence the solution (i.e. this patch) is to add a special case
to ix86_expand_vector_move for TImode to V1TImode transfers.
This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check with no new failures. Ok for mainline?
20
s working/continues to work.
This patch has been tested on x86_64-pc-linux-gnu with a make bootstrap
and make -k check (both with and without --target_board='unix{-m32}')
with no new regressions. Ok for mainline?
2022-01-06 Roger Sayle
gcc/ChangeLog
* tr
ath variant (or revisit this
decision).
This patch has been tested on nvptx-none hosted on x86_64-pc-linux-gnu
(including newlib) with a make and make -k check with no new failures.
Ok for mainline?
2022-01-08 Roger Sayle
gcc/ChangeLog
* config/nvptx/nvptx.md (*cmpf): New define_insn.
selp.u32%r38, 1, 0, %r34;
and.b32 %value, %r37, %r38;
This patch has been tested on nvptx-none hosted on x86_64-pc-linux-gnu
(including newlib) with a make and make -k check with no new failures.
Ok for mainline?
2022-01-10 Roger Sayle
gcc/ChangeLog
This idiom is safe to use for shifts by 127, but that case gets handled
by a two operation sequence earlier in this function.
This patch has been tested on x86_64-pc-linux-gnu with a make bootstrap
and make -k check with no new failures. OK for mainline?
2022-01-11 Roger Sayle
gc
This patch has been tested on x86_64-pc-linux-gnu with a make bootstrap
and make -k check with no new failures. OK for mainline?
2022-01-14 Roger Sayle
Uroš Bizjak
gcc/ChangeLog
* config/i386/i386-expand.c (ix86_expand_v1ti_to_ti): Use force_reg.
(ix86_expand_ti_to
patch has been tested on nvptx-none hosted on x86_64-pc-linux-gnu
(including newlib) with a make and make -k check with no new failures.
Ok for mainline?
2022-01-14 Roger Sayle
gcc/ChangeLog
* config/nvptx/nvptx.md (UNSPEC_ISINF): New UNSPEC.
(one_cmplbi2): New define_insn for no
check with no new failures. Ok for mainline?
2022-01-16 Roger Sayle
gcc/ChangeLog
* config/nvptx/nvptx.md (any_logic): Move code iterator earlier
in machine description.
(logic): Move code attribute earlier in machine description.
(ilogic): New code attribut
PR target/54816 is now fixed on mainline. This adds a test case to
check that it doesn't regress in future. Tested with a cross compiler
to avr-elf. Committed as obvious.
2023-04-16 Roger Sayle
gcc/testsuite/ChangeLog
PR target/54816
* gcc.target/avr/pr54816.c: New
and suitable. [Thanks in advance and apologies for any
inconvenience].
2018-01-14 Roger Sayle
* config/arm/arm.md (*arm_zeroextractsi2_8_8,
*arm_signextractsi2_8_8,
*arm_zeroextractsi2_8_16, *arm_signextractsi2_8_16,
*arm_zeroextractsi2_16_8, *arm_signextractsi2_16_8): Ne
gcc.dg
test cases.
Many thanks In advance. Best regards,
Roger
--
Roger Sayle, PhD.
NextMove Software Limited
Innovation Centre (Unit 23), Cambridge Science Park, Cambridge, CB4 0EY
2018-02-09 Roger Sayle
* fold-const.c (tree_nonzero_bits): New function.
* fold-const.h (tree_no
ld-const.c.
Most of this patch is the resulting re-indentation.
Test on x86_64-pc-linux-gnu with "make bootstrap" and "make check" with no
regressions.
Ok for mainline?
2016-08-05 Roger Sayle
PR middle-end/21137
* fold-const.c (fold_binary_loc) : Allow tra
file by copying
the definition of DW_CFA_AARCH64_negate_ra_state_with_pc from binutils,
restoring the ability to build a combined source tree.
Tested on x86_64-pc-linux-gnu with "make bootstrap".
Ok for mainline?
2025-02-10 Roger Sayle
include/Chang
issue
(where the current trunk implementation is typically more correct than GCC
14's).
Thoughts?
> -Original Message-
> From: Jakub Jelinek
> Sent: 02 April 2025 12:30
> To: Richard Biener ; Jan Hubicka ; Uros
Bizjak
> ; Roger Sayle ; Richard
> Sandiford
>
I agree returning to the GCC 14 behaviour is the best approach given the
current stage.
> -Original Message-
> From: Jakub Jelinek
> Sent: 03 April 2025 09:16
> To: Roger Sayle
> Cc: 'Richard Biener' ; 'Jan Hubicka' ;
'Uros
> Bizjak' ;
601 - 654 of 654 matches
Mail list logo