Message ID | 20250301052628.1011210-8-brian.cain@oss.qualcomm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hexagon system emu, part 1/3 | expand |
> -----Original Message----- > From: Brian Cain <brian.cain@oss.qualcomm.com> > Sent: Friday, February 28, 2025 11:26 PM > To: qemu-devel@nongnu.org > Cc: brian.cain@oss.qualcomm.com; richard.henderson@linaro.org; > philmd@linaro.org; quic_mathbern@quicinc.com; ale@rev.ng; anjo@rev.ng; > quic_mliebel@quicinc.com; ltaylorsimpson@gmail.com; > alex.bennee@linaro.org; quic_mburton@quicinc.com; > sidneym@quicinc.com; Brian Cain <bcain@quicinc.com> > Subject: [PATCH 07/38] target/hexagon: Add a placeholder fp exception > > From: Brian Cain <bcain@quicinc.com> > > Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com> > --- > target/hexagon/arch.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/target/hexagon/arch.c b/target/hexagon/arch.c index > d053d68487..87c2f6a53f 100644 > --- a/target/hexagon/arch.c > +++ b/target/hexagon/arch.c > @@ -208,6 +208,11 @@ void arch_fpop_start(CPUHexagonState *env) > * model it in qemu user mode. > */ > #define RAISE_FP_EXCEPTION do {} while (0) > +#else > + /* > + * To be implemented. > + */ > +#define RAISE_FP_EXCEPTION do { g_assert_not_reached(); } while (0) > #endif > > #define SOFTFLOAT_TEST_FLAG(FLAG, MYF, MYE) \ > -- > 2.34.1 Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
diff --git a/target/hexagon/arch.c b/target/hexagon/arch.c index d053d68487..87c2f6a53f 100644 --- a/target/hexagon/arch.c +++ b/target/hexagon/arch.c @@ -208,6 +208,11 @@ void arch_fpop_start(CPUHexagonState *env) * model it in qemu user mode. */ #define RAISE_FP_EXCEPTION do {} while (0) +#else + /* + * To be implemented. + */ +#define RAISE_FP_EXCEPTION do { g_assert_not_reached(); } while (0) #endif #define SOFTFLOAT_TEST_FLAG(FLAG, MYF, MYE) \