Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4712 closed enhancement (fixed)

powerpc: Add AltiVec VRSAVE support

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: arch/powerpc Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The VRSAVE feature of the Altivec unit can be used to reduce the amount of Altivec registers which need to be saved/restored during interrupt processing and context switches.

Change History (3)

comment:1 Changed on 09/08/22 at 13:21:34 by Sebastian Huber <sebastian.huber@…>

In [changeset:"be84706024958fc15032e2a077aecf6763b90ed5/rtems-source-builder" be84706/rtems-source-builder]:

6: Update GCC 10 and 12

Update #4712.

comment:2 Changed on 09/08/22 at 13:45:01 by Sebastian Huber <sebastian.huber@…>

In [changeset:"d907c2294a438f07099730b88ff88a659e940de7/rtems" d907c22/rtems]:

powerpc: Add support for VRSAVE

The VRSAVE feature of the Altivec unit can be used to reduce the amount of
Altivec registers which need to be saved/restored during interrupt processing
and context switches.

In order to use the VRSAVE optimization a corresponding multilib (-mvrsave) is
required, see GCC configuration. The -mvrsave option must be added to the
ABI_FLAGS of the BSP.

Currently only the -mcpu=e6500 based QorIQ BSP support this optimization.

Update #4712.

comment:3 Changed on 09/08/22 at 13:45:03 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"52d566c864977418ad33d3bb2658aa2357ad893c/rtems" 52d566c/rtems]:

bsp/qoriq: Enable VRSAVE optimization

Close #4712.

Note: See TracTickets for help on using tickets.