mbox series

[v2,0/5] Updates for PRU backend

Message ID 20200503161204.18245-1-dimitar@dinux.eu
Headers show
Series Updates for PRU backend | expand

Message

Dimitar Dimitrov May 3, 2020, 4:11 p.m. UTC
One of the changes frees a previously fixed register, per
ABI clarification from TI, for local usage from function.
The change is backwards compatible.

Rest of changes are cleanups.

Testsuite did not reveal any regressions.

Dimitar Dimitrov (5):
  PRU: Fix comment to avoid fall through warning
  PRU: Simplify machine description
  PRU: Fix R3.w0 register class
  testsuite: pru: Add clobber test
  PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED

 gcc/config/pru/pru.c                          | 80 ++++---------------
 gcc/config/pru/pru.h                          | 11 ++-
 gcc/config/pru/pru.md                         |  6 +-
 gcc/testsuite/gcc.target/pru/clobber-sp.c     | 24 ++++++
 .../pru/lra-framepointer-fragmentation-1.c    |  5 +-
 .../pru/lra-framepointer-fragmentation-2.c    | 10 ++-
 6 files changed, 58 insertions(+), 78 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/pru/clobber-sp.c

Comments

Li, Pan2 via Gcc-patches May 5, 2020, 4 p.m. UTC | #1
On Sun, 2020-05-03 at 19:11 +0300, Dimitar Dimitrov wrote:
> One of the changes frees a previously fixed register, per
> ABI clarification from TI, for local usage from function.
> The change is backwards compatible.
> 
> Rest of changes are cleanups.
> 
> Testsuite did not reveal any regressions.
> 
> Dimitar Dimitrov (5):
>   PRU: Fix comment to avoid fall through warning
>   PRU: Simplify machine description
>   PRU: Fix R3.w0 register class
>   testsuite: pru: Add clobber test
>   PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED
These are all OK for the trunk.  Your call if you want to backport any of these
changes.

jeff
>
Dimitar Dimitrov May 5, 2020, 5:57 p.m. UTC | #2
On вторник, 5 май 2020 г. 19:00:29 EEST Jeff Law wrote:
> On Sun, 2020-05-03 at 19:11 +0300, Dimitar Dimitrov wrote:
> > One of the changes frees a previously fixed register, per
> > ABI clarification from TI, for local usage from function.
> > The change is backwards compatible.
> > 
> > Rest of changes are cleanups.
> > 
> > Testsuite did not reveal any regressions.
> > 
> > Dimitar Dimitrov (5):
> >   PRU: Fix comment to avoid fall through warning
> >   PRU: Simplify machine description
> >   PRU: Fix R3.w0 register class
> >   testsuite: pru: Add clobber test
> >   PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED
> 
> These are all OK for the trunk.  Your call if you want to backport any of
> these changes.

Committed to master.

I don't think it's worth bothering the release team with those cleanups.

Thanks,
Dimitar