diff mbox series

[RFC,5/9] arm/cpu.h: align VFP registers

Message ID 20170817180404.29334-6-alex.bennee@linaro.org
State New
Headers show
Series TCG Vector types and example conversion | expand

Commit Message

Alex Bennée Aug. 17, 2017, 6:04 p.m. UTC
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 target/arm/cpu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.13.0

Comments

Richard Henderson Aug. 17, 2017, 8:13 p.m. UTC | #1
On 08/17/2017 11:04 AM, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  target/arm/cpu.h | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>



r~
diff mbox series

Patch

diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index b39d64aa0b..cdd47cb868 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -457,8 +457,8 @@  typedef struct CPUARMState {
          * the two execution states, and means we do not need to explicitly
          * map these registers when changing states.
          */
-        float64 regs[64];
-
+        float64 regs[64] __attribute__((aligned(16)));
+        /* VFP system registers */
         uint32_t xregs[16];
         /* We store these fpcsr fields separately for convenience.  */
         int vec_len;