On Wed, Apr 24, 2024 at 06:05:03PM +0800, Lehua Ding wrote:
> This patch add a new DF problem, named DF_LIVE_SUBREG. This problem
> is extended from the DF_LR problem and support track the subreg liveness
> of multireg pseudo if these pseudo satisfy the following conditions:
>
> 1. the mode size
: Jose E. Marchesi
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c
b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c
index c6bf52130dc
/ChangeLog:
* gcc.dg/debug/btf/btf-bitfields-1.c: Skip if int is less than
32-bits.
CC: Jose E. Marchesi
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-
/ChangeLog:
* gcc.dg/lto/pr101868_0.c (zero): New volatile variable.
(main): Use it instead of argc.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/lto/pr101868_0.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/lto/pr101868_0
gcc.dg/sso/memcpy-1.c (__big_endian__, __little_endian__):
Rename macros to avoid conflicts with predefined ones.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/sso/memcpy-1.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/sso/mem
.
Ok for trunk?
gcc/testsuite/ChangeLog:
* gcc.dg/builtin-object-size-20.c: Remove cases which
work on default_packed targets.
* gcc.dg/builtin-object-size-22.c: New test with the cases
removed above.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg
.
2. default_packed
Whether structures are packed by default is not necessarily
the same as lacking constraints for any variable alignment.
For example, BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN
could be defined for a target.
Ok for trunk?
Signed-off-by: Dimitar Dimitrov
---
On Fri, Jun 24, 2022 at 08:58:49AM +0200, Richard Biener wrote:
> On Fri, Jun 24, 2022 at 2:34 AM Andrew Pinski via Gcc-patches
> wrote:
> >
> > On Thu, Jun 23, 2022 at 2:24 PM Dimitar Dimitrov wrote:
> > >
> > > A few testcases were marked fo
with no_alignment_constraints.
* gcc.dg/strlenopt-11.c: Ditto.
* gcc.dg/strlenopt-13.c: Ditto.
* lib/target-supports.exp
(check_effective_target_no_alignment_constraints): New.
Signed-off-by: Dimitar Dimitrov
---
Changes since patch V1:
- Documented the new check in gc
Require effective target int128 for gcc.dg/pr106063.c.
Committed as obvious.
PR tree-optimization/106063
gcc/testsuite/ChangeLog:
* gcc.dg/pr106063.c: Require effective target int128.
CC: Tamar Christina
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/pr106063.c
when running embench-iot and building a few real-world firmware
examples.
gcc/ChangeLog:
* config/pru/pru.cc (pru_address_cost): Implement address cost
calculation.
(TARGET_ADDRESS_COST): Define for PRU.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru.cc
This patch set includes small cleanups and code generation improvements
I implemented during stages 3 and 4.
All patches have been regression-tested individually for pru-unknown-elf
while being developed. And the entire set was tested again on GCC 15
mainline.
Dimitar Dimitrov (9):
pru
Loading a constant zero in a 64-bit register now takes one instead of
two instructions.
gcc/ChangeLog:
* config/pru/pru.md: New pattern alternative for zero-filling
64-bit registers.
gcc/testsuite/ChangeLog:
* gcc.target/pru/mov-0.c: New test.
Signed-off-by: Dimitar
.
* gcc.target/pru/extzv-2.c: New test.
* gcc.target/pru/extzv-3.c: New test.
* gcc.target/pru/insv-1.c: New test.
* gcc.target/pru/insv-2.c: New test.
* gcc.target/pru/insv-3.c: New test.
* gcc.target/pru/insv-4.c: New test.
Signed-off-by: Dimitar Dimitrov
u-protos.h (pru_register_abicheck_pass): Remove.
(make_pru_tiabi_check): Add declaration.
* config/pru/pru.cc (pru_option_override): Remove explicit pass
registration.
* config/pru/t-pru: Register PRU passes definition file.
* config/pru/pru-passes.def: New file.
Signed-off-b
ported yet
for PRU.
gcc/ChangeLog:
* config/pru/pru.cc (prologue_saved_reg_p): Skip saving
if function will not return.
gcc/testsuite/ChangeLog:
* gcc.target/pru/noreturn-prologue-1.c: New test.
* gcc.target/pru/noreturn-prologue-2.c: New test.
Signed-off-by: Dimitar
.
* gcc.target/pru/extzv-3.c: Ditto.
* gcc.target/pru/zero_extend-op0.c: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/alu-zext.md| 38 ---
gcc/testsuite/gcc.target/pru/extzv-1.c| 2 +-
gcc/testsuite/gcc.target/pru/extzv-2
ry): Ditto.
(pru_builtin_decl): Ditto.
(pru_expand_builtin): Ditto.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru-passes.cc | 2 +-
gcc/config/pru/pru-pragma.cc | 2 +-
gcc/config/pru/pru.cc| 24 +---
3 files changed, 11 insertions(+), 17 deletions(-)
di
/pru/minrt-2.cc: New test.
* g++.target/pru/minrt-3.cc: New test.
* g++.target/pru/pru.exp: New test.
* gcc.target/pru/minrt-1.c: New test.
* gcc.target/pru/minrt-2.c: New test.
* gcc.target/pru/minrt-3.c: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc
Use the HOST_WIDE_INT_1U macro instead of literal 1 when constructing
constants for RTL.
gcc/ChangeLog:
* config/pru/pru.md (lshrdi3): Use HOST_WIDE_INT_1U macro.
(ashldi3): Ditto.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru.md | 6 --
1 file changed, 4
On Wed, May 08, 2024 at 11:34:48AM +0800, 陈硕 wrote:
> Hi Dimitar
>
>
> I send a patch just now, modifies accordingly
>
>
> some comments:
>
>
> >Nit: Should have two spaces after the dot, per GNU coding style.
> I'd suggest
> >to run the contrib/check_GNU_style.py script on your patches.
>
.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/predicates.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/pru/predicates.md b/gcc/config/pru/predicates.md
index 77b3316b98e..55635599609 100644
--- a/gcc/config/pru/predicates.md
+++ b/gcc/config/pru
(pru_class_likely_spilled_p): Implement
to mark classes containing one SImode register as likely
spilled.
(TARGET_CLASS_LIKELY_SPILLED_P): Define.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru.cc | 14 ++
1 file changed, 14 insertions(+)
diff --git a/gcc
On Tue, Jun 06, 2023 at 08:38:14PM -0600, Jeff Law wrote:
>
>
> > Regression tested for riscv32-none-elf. No changes in gcc.sum and
> > g++.sum. I don't have setup to test riscv64.
> >
> > gcc/ChangeLog:
> >
> > * config/riscv/riscv.cc (riscv_print_operand): Calculate
> > memmodel only
On Sun, Jun 02, 2024 at 10:01:21PM -0500, Kewen Lin wrote:
> This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
> defines in pru port.
>
> gcc/ChangeLog:
>
> * config/pru/pru.h (FLOAT_TYPE_SIZE): Remove.
> (DOUBLE_TYPE_SIZE): Likewise.
> (LONG_DOUBLE_TYPE_SIZE): Likewise.
/testsuite/ChangeLog:
* gcc.dg/torture/pr67947.c: Use volatile variable instead of
argc.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/torture/pr67947.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/torture/pr67947.c
b/gcc/testsu
: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc/common/config/pru/pru-common.cc | 12
gcc/config/pru/pru.cc| 6 ++
gcc/testsuite/gcc.target/pru/section-anchors-1.c | 14 ++
gcc/testsuite/gcc.target/pru/section-anchors-2.c
On Wed, Jul 31, 2024 at 05:09:52PM +0100, Jonathan Wakely wrote:
> It took a while, but I was finally happy with this v4 patch, so I pushed
> it to trunk. Then I noticed silly mistake in the new test, which I'll
> fix shortly.
>
...
> +#if defined _GLIBCXX_HAVE_ICONV
> + ::iconv_t _M_cd = (::icon
On Wed, Jul 31, 2024 at 09:26:43PM +0100, Jonathan Wakely wrote:
> On Wed, 31 Jul 2024 at 19:18, Jonathan Wakely wrote:
> >
> > On Wed, 31 Jul 2024 at 19:17, Dimitar Dimitrov wrote:
> > >
> > > On Wed, Jul 31, 2024 at 05:09:52PM +0100, Jonathan Wakely wrote:
&
On Fri, Jun 21, 2024 at 08:55:36AM -0400, David Malcolm wrote:
> This patch extends the dg directive verify-sarif-file so that if
> the "jsonschema" tool is available, it will be used to validate the
> generated .sarif file.
>
> Tested with jsonschema 3.2 with Python 3.8
Hi David,
The new testca
h any default packing value.
* g++.dg/warn/Wpadded-1.C: Ignore warning for default_packed
targets.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/g++.dg/abi/nsdmi-aggr1a.C | 2 +-
gcc/testsuite/g++.dg/abi/nullptr-align2.C | 2 +-
gcc/testsuite/g++.dg/cpp1z/aligned-new9.
targets.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-1.c
b/gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-1
++.dg/init/array54.C: Require sync_int_long effective target.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/g++.dg/init/array54.C | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/g++.dg/init/array54.C
b/gcc/testsuite/g++.dg/init/array54.C
index 5241e451d6d..d664b576984 100644
On Tue, Aug 13, 2024 at 07:34:09PM +0200, Hans-Peter Nilsson wrote:
> > From: Sam James
> > Date: Tue, 13 Aug 2024 18:17:29 +0100
>
> > Hans-Peter Nilsson writes:
> >
> > > I stumbled on this being a regression for cris-elf as well;
> > > the patch expectedly fixes the test-case for CRIS as wel
On Wed, Nov 08, 2023 at 11:47:33AM +0800, Lehua Ding wrote:
> Hi,
>
> These patchs try to support subreg coalesce feature in
> register allocation passes (ira and lra).
Hi Lehua,
This patch set breaks the build for at least three embedded targets. See
below.
For avr the GCC build fails with:
/m
On Fri, Nov 10, 2023 at 04:53:57PM +0800, Lehua Ding wrote:
> > > The divide by zero error above is interesting. I'm not sure why
> > > ira_reg_class_max_nregs[] yields 0 for the pseudo register 168 in
> > > the following rtx:
> > > (debug_insn 168 167 169 19 (var_location:SI encoding (reg/v:SI 168
On Sun, Nov 12, 2023 at 08:08:10PM +0800, Lehua Ding wrote:
> V3 Changes:
> 1. fix three ICE.
> 2. rebase
>
> Hi,
>
> These patchs try to support subreg coalesce feature in
> register allocation passes (ira and lra).
>
Hi Lehua,
V3 indeed fixes the arm-none-eabi build. It's also confirmed
020206-1.c: Prune warning that
-fprefetch-loop-arrays is not supported.
CC: Florian Weimer
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/20020206-1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/20020206-1.c
b/gcc/testsuite/gcc.dg/20020206-1.c
index c8d8b61937a
On Wed, Nov 15, 2023 at 12:11:50PM +, Richard Biener wrote:
> The following avoids hoisting of invariants from conditionally
> executed parts of an if-converted loop. That now makes a difference
> since we perform bitfield lowering even when we do not actually
> if-convert the loop. if-conver
On Tue, Nov 14, 2023 at 11:08:24PM +0100, Sebastian Huber wrote:
> Move the counter update to the new gen_counter_update() helper function. Use
> it in gimple_gen_edge_profiler() and gimple_gen_time_profiler(). The
> resulting
> gimple instructions should be identical with the exception of the r
On Mon, Nov 20, 2023 at 03:33:30PM +0100, Sebastian Huber wrote:
> This fixes issues like this:
>
> gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c: In function
> 'main':
> gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c:19:1: error:
> incorrect sharing of tree node
On Sun, Nov 19, 2023 at 05:47:56PM -0700, Jeff Law wrote:
...
> +/* Process uses in INSN. Set appropriate bits in LIVENOW for any chunks of
> + pseudos that become live, potentially filtering using bits from LIVE_TMP.
> +
> + If MODIFIED is true, then optimize sign/zero extensions to SUBREGs w
: Ditto.
* gcc.dg/nested-vla-3.c: Ditto.
CC: Martin Uecker
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/nested-vla-1.c | 1 +
gcc/testsuite/gcc.dg/nested-vla-2.c | 1 +
gcc/testsuite/gcc.dg/nested-vla-3.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/gcc/testsuite
element of a vector.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/riscv/riscv.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index 3954c89a039..c15da1d0e30 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/confi
lf. No changes in gcc.sum and
g++.sum. I don't have setup to test riscv64.
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_print_operand): Calculate
memmodel only when it is valid.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/riscv/riscv.cc | 13 +
1 file change
arget/pru/pr106564-3.c: New test.
* gcc.target/pru/pr106564-4.c: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/constraints.md | 23 +++
gcc/config/pru/predicates.md | 22 +++
gcc/config/pru/pru-protos.h | 9 +-
g
, committed to mainline.
gcc/ChangeLog:
* config/pru/pru.md (pru_di3): New alternative for
two operands but without earlyclobber.
gcc/testsuite/ChangeLog:
* gcc.target/pru/bitop-di.c: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru.md
.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/pru.md | 25 ++---
gcc/testsuite/gcc.target/pru/mov-m1.c | 18 ++
2 files changed, 32 insertions(+), 11 deletions(-)
create mode 100644 gcc/testsuite/gcc.target/pru/mov-m1.c
diff --git a/gcc
Access to arbitrary stack frames is not supported on PRU.
gcc/testsuite/ChangeLog:
* gcc.dg/Wno-frame-address.c: Skip for PRU target.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/Wno-frame-address.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc
PRU target defines DI patterns for logical ALU operations.
gcc/testsuite/ChangeLog:
* gcc.dg/lower-subreg-1.c: Skip for PRU.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/lower-subreg-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite
Place markers in test case to handle targets which pack structures by
default. Validated on pru-none-elf.
Committed as obvious.
gcc/testsuite/ChangeLog:
* gcc.dg/Wattributes-8.c: Add annotations for default_packed
targets.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite
: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/memchr.c | 3 ++-
gcc/testsuite/gcc.dg/memcmp-3.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/memchr.c b/gcc/testsuite/gcc.dg/memchr.c
index fb21d58b476..27524b82520 100644
--- a/gcc/testsuite/gcc.dg/memchr.c
/testsuite/ChangeLog:
* gcc.c-torture/compile/attr-complex-method-2.c: Accept both __divdc3
and __gnu_divdc3 as valid libgcc function names.
* gcc.dg/complex-6.c: Ditto for __mulsc3.
* gcc.dg/complex-7.c: Ditto for __muldc3.
Signed-off-by: Dimitar Dimitrov
---
gcc
ets. This is safe because the original test case
covered an ICE, not a diagnostic error.
Ok for trunk?
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/torture/pr51628-30.c: Test can spill excess
errors for default_packed targets.
CC: David Malcolm
Signed-off-by: Dimitar Dimitrov
---
e
returned by malloc. Fix by first checking the target word size.
Sanity checked that there are no new failures on x86_64-pc-linux-gnu.
Ok for trunk?
gcc/testsuite/ChangeLog:
* gcc.dg/mallign.c: Skip check if sizeof(word)==1.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg
cycles.
Cherry-picked from the recent change for the CRIS port. Pushed to trunk.
libgcc/ChangeLog:
* config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
-DTARGET_HAS_NO_HW_DIVIDE.
Signed-off-by: Dimitar Dimitrov
---
libgcc/config/pru/t-pru | 3 +++
1 file changed, 3 insertions(+)
diff
On Sun, May 08, 2022 at 10:31:04AM +0300, Dimitar Dimitrov wrote:
> This patch fixes a spurious warning for pru-unknown-elf target:
> gcc/testsuite/gcc.dg/mallign.c:12:27: warning: ignoring return value of
> 'malloc' declared with attribute 'warn_unused_result' [-W
-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/Warray-bounds-48-novec.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/Warray-bounds-48-novec.c
b/gcc/testsuite/gcc.dg/Warray-bounds-48-novec.c
index da179a2c0f5..5cae8566209 100644
--- a/gcc
PRU has no condition code and conditional moves.
gcc/testsuite/ChangeLog:
* gcc.dg/ifcvt-4.c: Skip for PRU.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/ifcvt-4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c b/gcc
Like AVR and Cris, PRU has no alignment requirements. Thus it is
also affected by PR53535.
PR middle-end/53535
gcc/testsuite/ChangeLog:
* gcc.dg/pr46647.c: Skip for pru target.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/pr46647.c | 4 ++--
1 file changed, 2
Committed as obvious.
PR ipa/91088
gcc/testsuite/ChangeLog:
* gcc.dg/ipa/pr91088.c: Adjust member offset checks to
accommodate targets which pack structures by default.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/ipa/pr91088.c | 3 ++-
1 file changed, 2
: Ditto.
* gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-32.c: Ditto.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11.c | 2 +-
gcc
bstdc++-v3/ChangeLog:
* src/filesystem/dir-common.h (_GLIBCXX_HAVE_FCNTL_H): Move the
check outside the HAVE_DIRENT_H check.
Signed-off-by: Dimitar Dimitrov
---
libstdc++-v3/src/filesystem/dir-common.h | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/li
On Mon, Feb 07, 2022 at 09:05:45PM +, Jonathan Wakely wrote:
> On Mon, 7 Feb 2022 at 21:01, Jonathan Wakely wrote:
>
> >
> >
> > On Mon, 7 Feb 2022 at 20:12, Dimitar Dimitrov wrote:
> >
> >> On PRU target with newlib, we have the following co
eader.
Signed-off-by: Dimitar Dimitrov
---
gcc/config/pru/constraints.md | 5 +
gcc/config/pru/predicates.md | 19 +++
gcc/config/pru/pru-pragma.c | 2 +
gcc/config/pru/pru-protos.h | 3 +
gcc/config/pru/pru.c
On Wed, Sep 15, 2021 at 11:12:18AM +0200, Richard Biener wrote:
> On Tue, Sep 14, 2021 at 11:13 PM Dimitar Dimitrov wrote:
> >
> > Hi,
> >
> > I'm sending this patch to get feedback for a new PRU CPU port feature.
> > My intention is to push it to maste
-decl.c: New negative test.
* gcc.target/pru/regio-di.c: New negative test.
* gcc.target/pru/regio-hi.c: New negative test.
* gcc.target/pru/regio-qi.c: New negative test.
* gcc.target/pru/regio.c: New test.
* gcc.target/pru/regio.h: New helper header.
S
Document the new __regio_symbol variable qualifier for PRU target.
Pushed.
Signed-off-by: Dimitar Dimitrov
---
htdocs/gcc-12/changes.html | 9 +
1 file changed, 9 insertions(+)
diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 4f7bbd33..22839f2d 100644
--- a
On Fri, Jul 09, 2021 at 08:16:24AM +0200, Richard Biener via Gcc-patches wrote:
> On Thu, Jul 8, 2021 at 8:02 PM Martin Sebor via Gcc-patches
> wrote:
> >
> > Hi Ian,
> >
> > Yesterday's enhancement to -Warray-bounds has exposed a couple of
> > issues in libgo where the code writes into an invalid
mit;h=44b357eb9aefc77a8385e631d8e3035a664f2333
gcc/ChangeLog:
* config/pru/pru.c (pru_section_type_flags): New function.
(TARGET_SECTION_TYPE_FLAGS): Wire it.
gcc/testsuite/ChangeLog:
* gcc.target/pru/pru_irq_map.c: New test.
Signed-off-by: Dimitar Dimitrov
---
gcc/confi
On Fri, Dec 03, 2021 at 11:33:48PM +0200, Dimitar Dimitrov wrote:
> I intend to merge this patch next week, unless I hear objections. I
> consider it a bug fix which fits the Stage 3 criteria. It fixes the
> RPMSG firmware examples in the latest version 6.0 of TI's PRU Soft
On Tue, Jan 25, 2022 at 09:09:51PM +, Jonathan Wakely via Gcc-patches wrote:
> Tested x86_64-linux, pushed to trunk. Backports to follow.
>
>
> This adds a new internal flag to the filesystem::directory_iterator
> constructor that makes it fail if the path is a symlink that resolves to
> a di
On Mon, May 31, 2021 at 12:20:21AM +0200, Gerald Pfeifer wrote:
> TI's server has been telling us that "The PRU-ICSS wiki is in the
> process of being migrated to software-dl.ti.com" for five months.
> Time to pull the plug.
> ---
> htdocs/readings.html | 1 -
> 1 file changed, 1 deletion(-)
>
>
On Mon, Jun 14, 2021 at 09:56:12AM +0200, Gerald Pfeifer wrote:
> On Sun, 13 Jun 2021, Dimitar Dimitrov wrote:
> >> TI's server has been telling us that "The PRU-ICSS wiki is in the
> >> process of being migrated to software-dl.ti.com" for five months.
>
(Design Overview): Update that slim objects are
the default.
Signed-off-by: Dimitar Dimitrov
---
gcc/doc/lto.texi | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/gcc/doc/lto.texi b/gcc/doc/lto.texi
index 1f55216328a..755258ccb2b 100644
--- a/gcc/doc
On Mon, Jun 21, 2021 at 08:09:20AM +0200, Richard Biener wrote:
> On Sun, 20 Jun 2021, Dimitar Dimitrov wrote:
>
> > Slim LTO object files have been the default for quite a while, since:
> > commit e9f67e625c2a4225a7169d7220dcb85b6fdd7ca9
> > Author: Jan Hubicka
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* gcc.c-torture/execute/20101011-1.c: Define DO_TEST to 0 for PRU.
* gcc.dg/20020312-2.c: No PIC register for PRU.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.c-torture/execute/20101011-1.c | 3 +++
gcc
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* g++.old-deja/g++.abi/ptrmem.C: Add PRU to list.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.old-deja/g
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* gcc.target/pru/abi-arg-struct.c: New test.
* gcc.target/pru/ashiftrt.c: New test.
* gcc.target/pru/builtins-1.c: New test.
* gcc.target/pru/builtins-error.c: New test.
* gcc.target/pru/clearbit.c
The floating point support has been borrowed from C6X libgcc port
to help with TI PRU toolchain ABI compatibility.
libgcc/ChangeLog:
2018-06-13 Dimitar Dimitrov
* config.host: Add PRU target.
* config/pru/asri.c: New file.
* config/pru/eqd.c: New file
, 0, 100
The load/store multiple patterns declare all subsequent registers
as distinct operands. Hence the need to increase the limit.
Increase the value to just 60 in order to avoid modifying regrename.c.
2018-06-13 Dimitar Dimitrov
* genoutput.c (MAX_MAX_OPERANDS): Increase to 60
PRU architecture supports maximum 256k program memory (IMEM). Some GCC
test cases manage to produce executables bigger than that.
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* lib/gcc-dg.exp: Bail on region overflow for tiny targets.
* lib/target-utils.exp: Ditto
4/msg00870.html
Dimitar Dimitrov (11):
Initial TI PRU GCC port
Initial TI PRU libgcc port
testsuite: Add PRU tests
testsuite: Add check for overflowed IMEM region to testsuite
testsuite: Add check for unsupported TI ABI PRU features to testsuite
testsuite: Remove PRU from test cases
From: Dimitar Dimitrov
For some targets, Pmode != UNITS_PER_WORD. Take this into account
when marking hard registers as being used.
I tested C and C++ testsuits for x86_64 with and without this
patch. There was no regression, i.e. gcc.sum and g++.sum matched
exactly.
gcc/ChangeLog:
2018-06-13
Not all C language features are supported when -mabi=ti option is
used for PRU target.
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* lib/gcc-dg.exp: Filter unsupported features in PRU's TI ABI mode.
* lib/target-utils.exp: Ditto.
Signed-off-by: Dimitar Dim
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* gcc.dg/tree-ssa/20040204-1.c: XFAIL on pru.
* gcc.dg/tree-ssa/reassoc-33.c: Ditto.
* gcc.dg/tree-ssa/reassoc-34.c: Ditto.
* gcc.dg/tree-ssa/reassoc-35.c: Ditto.
* gcc.dg/tree-ssa/reassoc-36.c: Ditto
gcc/testsuite/ChangeLog:
2018-06-13 Dimitar Dimitrov
* gcc.dg/stack-usage-1.c: Define PRU stack usage.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/stack-usage-1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c
b/gcc
On сряда, 13 юни 2018 г. 19:44:16 EEST Joseph Myers wrote:
> On Wed, 13 Jun 2018, Dimitar Dimitrov wrote:
> > + error ("__delay_cycles() only takes constant arguments");
>
> As in documentation, diagnostics should not use () to indicate that a name
> refers
On четвъртък, 21 юни 2018 г. 17:03:55 EEST Jeff Law wrote:
> On 06/21/2018 11:44 AM, Vladimir Makarov wrote:
> > On 06/13/2018 02:58 PM, Dimitar Dimitrov wrote:
> >> From: Dimitar Dimitrov
> >>
> >> For some targets, Pmode != UNITS_PER_WORD. Take this
On петък, 22 юни 2018 г. 10:55:29 EEST Jeff Law wrote:
> On 06/13/2018 12:57 PM, Dimitar Dimitrov wrote:
> > The floating point support has been borrowed from C6X libgcc port
> > to help with TI PRU toolchain ABI compatibility.
> >
> > libgcc/ChangeLog:
> >
On петък, 22 юни 2018 г. 10:37:10 EEST Jeff Law wrote:
> On 06/21/2018 10:01 PM, Dimitar Dimitrov wrote:
> > On четвъртък, 21 юни 2018 г. 17:03:55 EEST Jeff Law wrote:
> >> On 06/21/2018 11:44 AM, Vladimir Makarov wrote:
> >>> On 06/13/2018 02:58 PM, Dimitar Dimitr
On петък, 22 юни 2018 г. 19:41:55 EEST Jakub Jelinek wrote:
> On Fri, Jun 22, 2018 at 11:33:06AM -0600, Jeff Law wrote:
> > On 06/13/2018 12:58 PM, Dimitar Dimitrov wrote:
> > > The PRU load/store instructions can access memory with byte
> > >
> > > gra
add_to_hard_reg_set.
- Also fix check_pseudos_live_through_calls.
- Decouple PRU tests so that LRA patch is now standalone.
gcc/ChangeLog:
2018-06-23 Dimitar Dimitrov
* lra-eliminations.c (update_reg_eliminate): Mark all spanning hard
registers for Pmode..
* lra
On петък, 22 юни 2018 г. 12:20:46 EEST Jeff Law wrote:
> On 06/13/2018 12:57 PM, Dimitar Dimitrov wrote:
> > ChangeLog:
> >
> > 2018-06-13 Dimitar Dimitrov
> >
> > * configure: Regenerate.
> > * configure.ac: Add PRU target.
> >
&g
cc.gnu.org/ml/gcc-patches/2018-07/msg01779.html
[3] http://gcc.gnu.org/ml/gcc-patches/2018-08/msg00927.html
[4] http://gcc.gnu.org/ml/gcc-patches/2018-09/msg00392.html
Regards,
Dimitar
Dimitar Dimitrov (10):
Initial TI PRU GCC port
Initial TI PRU libgcc port
testsuite: Add PRU tests
PRU architecture supports maximum 256k program memory (IMEM). Some GCC
test cases manage to produce executables bigger than that.
gcc/testsuite/ChangeLog:
2018-10-08 Dimitar Dimitrov
* lib/gcc-dg.exp: Bail on region overflow for tiny targets.
* lib/target-utils.exp: Ditto
The floating point support has been borrowed from C6X libgcc port
to help with TI PRU toolchain ABI compatibility.
libgcc/ChangeLog:
2018-10-08 Dimitar Dimitrov
* config.host: Add PRU target.
* config/pru/asri.c: New file.
* config/pru/eqd.c: New file
gcc/testsuite/ChangeLog:
2018-10-08 Dimitar Dimitrov
* gcc.target/pru/abi-arg-struct.c: New test.
* gcc.target/pru/ashiftrt.c: New test.
* gcc.target/pru/builtins-1.c: New test.
* gcc.target/pru/builtins-error.c: New test.
* gcc.target/pru/clearbit.c
Not all C language features are supported when -mabi=ti option is
used for PRU target.
gcc/testsuite/ChangeLog:
2018-10-08 Dimitar Dimitrov
* lib/gcc-dg.exp: Filter unsupported features in PRU's TI ABI mode.
* lib/target-utils.exp: Ditto.
* lib/target-support
gcc/testsuite/ChangeLog:
2018-10-08 Dimitar Dimitrov
* gcc.dg/stack-usage-1.c: Define PRU stack usage.
Signed-off-by: Dimitar Dimitrov
---
gcc/testsuite/gcc.dg/stack-usage-1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c
b/gcc
101 - 200 of 220 matches
Mail list logo