File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11tests :
22 kernel.fpu_sharing.float_disable.arm :
33 arch_allow : arm
4- filter : CONFIG_ARMV7_M_ARMV8_M_FP
4+ filter : CONFIG_ARMV7_M_ARMV8_M_FP or CONFIG_ARMV7_R_FP
55 extra_configs :
66 - CONFIG_DYNAMIC_INTERRUPTS=y
77 tags : fpu kernel userspace
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ struct fp_non_volatile_register_set {
6363#define SIZEOF_FP_VOLATILE_REGISTER_SET sizeof(struct fp_volatile_register_set)
6464#define SIZEOF_FP_NON_VOLATILE_REGISTER_SET 0
6565
66- #elif defined(CONFIG_ARMV7_M_ARMV8_M_FP )
66+ #elif defined(CONFIG_ARMV7_M_ARMV8_M_FP ) || defined( CONFIG_ARMV7_R_FP )
6767
6868#define FP_OPTION 0
6969
Original file line number Diff line number Diff line change 11/**
22 * @file
3- * @brief ARM Cortex-M4 GCC specific floating point register macros
3+ * @brief ARM GCC specific floating point register macros
44 */
55
66/*
1212#ifndef _FLOAT_REGS_ARM_GCC_H
1313#define _FLOAT_REGS_ARM_GCC_H
1414
15- #if !defined(__GNUC__ ) || !defined(CONFIG_ARMV7_M_ARMV8_M_FP )
16- #error __FILE__ goes only with Cortex-M GCC
15+ #if !defined(__GNUC__ ) \
16+ || !(defined(CONFIG_ARMV7_M_ARMV8_M_FP ) || defined(CONFIG_ARMV7_R_FP ))
17+ #error __FILE__ goes only with ARM GCC
1718#endif
1819
1920#include <toolchain.h>
Original file line number Diff line number Diff line change 4444#else
4545#include "float_regs_x86_other.h"
4646#endif /* __GNUC__ */
47- #elif defined(CONFIG_ARMV7_M_ARMV8_M_FP )
47+ #elif defined(CONFIG_ARMV7_M_ARMV8_M_FP ) || defined( CONFIG_ARMV7_R_FP )
4848#if defined(__GNUC__ )
4949#include "float_regs_arm_gcc.h"
5050#else
@@ -191,7 +191,7 @@ static void load_store_low(void)
191191 * disable floating point operations for the task.
192192 */
193193#if (defined(CONFIG_X86 ) && defined(CONFIG_LAZY_FPU_SHARING )) || \
194- defined(CONFIG_ARMV7_M_ARMV8_M_FP )
194+ defined(CONFIG_ARMV7_M_ARMV8_M_FP ) || defined( CONFIG_ARMV7_R_FP )
195195 /*
196196 * In x86:
197197 * The subsequent execution of _load_all_float_registers() will
Original file line number Diff line number Diff line change 88 min_ram : 16
99 kernel.fpu_sharing.generic.arm :
1010 extra_args : PI_NUM_ITERATIONS=70000
11- filter : CONFIG_ARMV7_M_ARMV8_M_FP
11+ filter : CONFIG_ARMV7_M_ARMV8_M_FP or CONFIG_ARMV7_R_FP
1212 slow : true
1313 tags : fpu kernel
1414 timeout : 600
You can’t perform that action at this time.
0 commit comments