This middle-end patch implements several related improvements to
tree-ssa's conditional (bit) constant propagation pass. The current
code handling ordered comparisons contains the comment "If the
most significant bits are not known we know nothing" which is not
entirely true [this test even preve
This middle-end patch teaches RTL expansion to recognize widening
multiplications followed by right shifts as highpart multiplications,
and attempt to emit them using the backends [su]mul_highpart optab
if possible.
My first attempt at supporting this, from August 2020, is at:
https://gcc.gnu.or
Doh! ENOPATCH. This time with attachments...
https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576922.html
Roger
--
diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md
index 108de1c..2b18f6a 100644
--- a/gcc/config/nvptx/nvptx.md
+++ b/gcc/config/nvptx/nvptx.md
@@ -614,6 +614
Hi,
To implement generics/C++ template-ish with libgccjit it would be very useful
to have the possibility to declare functions and variables with weak linkage,
to be able to have independent AOT compilation of object files without needing
to keep track of what is "instantiated" where to prevent
This patch adds support for weak linkage variables and functions in libgccjit.
'gcc_jit_context_new_function()' and 'gcc_jit_context_new_global()' gets one
new enum value each which specifies weak linkage. The macro
'LIBGCCJIT_HAVE_WEAK_SYMBOLS' indicates weak linkage support. Analogous to
de
This patch has a test case for weak linkage as well as modification of helper
functions. Essentially it produces two object files, one with weak and one with
normal symbols, and a main which prints the values of those two symbols and a
cehck to ensure that the normal symbols' values are printed.
This patch updates the documentation concerning the addition of weak linkage
for 'gcc_jit_context_new_function()' and 'gcc_jit_context_new_global()'. The
documentation needs regeneration.
gcc/jit/docs/topics/
* compilation.rst
* expressions.rst
* functions.rst
---
gcc/j
The recent improvements to bswap & rotates from Roger compromised a test
on the c6x port. Essentially it optimized away a rotate by adjusting the
subsequent test of the result. This is good ;-)
Fixing the test is trivial. We just need to extract the rotate idiom
into its own function and ins
Hi Mike,
FWIW, looks fine to me, if tests are all passing now.
Bill
On 8/5/21 9:44 PM, Michael Meissner wrote:
[PATCH] Fix typo in fold-vec-load-builtin_vec_xl-* tests.
When I checked in the fix for running tests on power10 systems with
power10 code generation, I had a typo in the
fold-vec-lo
Hi Segher,
On 8/6/21 7:01 PM, Segher Boessenkool wrote:
Hi!
On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote:
+ const vsc __builtin_altivec_abss_v16qi (vsc);
+ABSS_V16QI altivec_abss_v16qi {}
+
+ const vsi __builtin_altivec_abss_v4si (vsi);
+ABSS_V4SI altivec_abss_v4si {}
This is a trivial fix following a recent change on __glibcxx_assert.
libstdc++: Fix dg-prune-output assertion message
Since __glibcxx_assert changes in r6b42b5a the generated assertion
message
has changed.
libstdc++-v3/ChangeLog:
* testsuite/25_algorithms/copy/deb
After further testing here a fixed version which imply less changes.
Moreover I already commit the fixes unrelated with this patch.
libstdc++: [_GLIBCXX_ASSERTIONS] Activate basic debug checks
libstdc++-v3/ChangeLog:
* include/bits/stl_algobase.h (equal): Use runtime-only
On Thu, Aug 05, 2021 at 10:44:36PM -0400, Michael Meissner wrote:
> * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-char.c: Fix
> typo in regular expression.
> * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-double.c:
> Likewise.
> * gcc.target/powerpc/fold-vec-loa
On Sat, Aug 7, 2021 at 4:41 PM H.J. Lu wrote:
>
> Update vector_all_ones_operand to return true for const all 1s float
> vectors.
>
> gcc/
>
> PR target/101804
> * config/i386/predicates.md (vector_all_ones_operand): Return
> true for const all 1s float vectors.
>
> gcc/tes
Hi!
On Sun, Aug 08, 2021 at 11:53:38AM -0500, Bill Schmidt wrote:
> On 8/6/21 7:01 PM, Segher Boessenkool wrote:
> >On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote:
> >>+ const vsc __builtin_altivec_abss_v16qi (vsc);
> >>+ABSS_V16QI altivec_abss_v16qi {}
> >>+
> >>+ const vsi __
Hi...
On 8/8/21 3:27 PM, Segher Boessenkool wrote:
Hi!
On Sun, Aug 08, 2021 at 11:53:38AM -0500, Bill Schmidt wrote:
On 8/6/21 7:01 PM, Segher Boessenkool wrote:
On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote:
+ const vsc __builtin_altivec_abss_v16qi (vsc);
+ABSS_V16QI alt
On Sun, 8 Aug 2021, 20:26 François Dumont via Libstdc++, <
libstd...@gcc.gnu.org> wrote:
> This is a trivial fix following a recent change on __glibcxx_assert.
>
> libstdc++: Fix dg-prune-output assertion message
>
> Since __glibcxx_assert changes in r6b42b5a the generated assertion
> me
Thanks,
On 2021/8/6 19:46, Richard Biener wrote:
> On Tue, 3 Aug 2021, Xionghu Luo wrote:
>
>> loop split condition is moved between loop1 and loop2, the split bb's
>> count and probability should also be duplicated instead of (100% vs INV),
>> secondly, the original loop1 and loop2 count need be
On Tue, Aug 3, 2021 at 7:12 PM Hongtao Liu wrote:
>
> On Tue, Aug 3, 2021 at 6:20 PM Richard Biener
> wrote:
> >
> > On Tue, Aug 3, 2021 at 11:20 AM Richard Biener
> > wrote:
> > >
> > > On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches
> > > wrote:
> > > >
> > > > On Tue, Jul 27, 202
Hi Bill,
Thanks for the comments!
on 2021/8/6 下午9:10, Bill Schmidt wrote:
> Hi Kewen,
>
> On 8/4/21 9:06 PM, Kewen.Lin wrote:
>> Hi,
>>
>> The existing vec_unpacku_{hi,lo} supports emulated unsigned
>> unpacking for short and char but misses the support for int.
>> This patch adds the support fo
On 7/20/2021 9:44 AM, Serge Belyshev wrote:
Special-casing checks for in-tree gas features is unnecessary since
r17 which made configure-gcc depend on all-gas, and thus making
alternate code path in gcc_GAS_CHECK_FEATURE for in-tree gas
redundant.
Along the way this fixes PR 91602, which
Yes. Condition to to switch two versioned loops is "true", the first two
arguments should be 100% and 0%.
It is different from normal loop split, we could not deduce exactly precise
probability for
condition-based loop split, since cfg inside loop2 would be changed.
(invar-branch is replaced
to
On Fri, 6 Aug 2021 at 17:31, Christophe Lyon
wrote:
>
>
>
> On Fri, Aug 6, 2021 at 11:51 AM Prathamesh Kulkarni
> wrote:
>>
>> On Fri, 6 Aug 2021 at 14:49, Christophe Lyon
>> wrote:
>> >
>> >
>> >
>> > On Fri, Aug 6, 2021 at 11:00 AM Prathamesh Kulkarni
>> > wrote:
>> >>
>> >> On Thu, 5 Aug 2
Jeff Law writes:
> On 7/20/2021 9:44 AM, Serge Belyshev wrote:
>> Special-casing checks for in-tree gas features is unnecessary since
>> r17 which made configure-gcc depend on all-gas, and thus making
>> alternate code path in gcc_GAS_CHECK_FEATURE for in-tree gas
>> redundant.
>>
>> Along th
Hi,
When playing with std::experimental::simd, I found a bug newly introduced in
AArch64 backend. As commit message describes:
7 Pattern "*extend2_aarch64" is duplicated
8 from the corresponding zero_extend pattern, however % needs
9 to be expanded according to its mode iterator
25 matches
Mail list logo