diff options
author | Ali Saidi <ali.saidi@arm.com> | 2010-08-25 19:10:42 -0500 |
---|---|---|
committer | Ali Saidi <ali.saidi@arm.com> | 2010-08-25 19:10:42 -0500 |
commit | 99fafb72b87f3b63f205bee7b20b8c19724d6305 (patch) | |
tree | 305127cadcae96140871d128525bc89c5a1486ec /src/arch/arm/isa/templates/neon.isa | |
parent | 63464d950ec4e8b8f3aa86802ca9fbf1e8c662b6 (diff) | |
download | gem5-99fafb72b87f3b63f205bee7b20b8c19724d6305.tar.xz |
ARM: Fix VFP enabled checks for mem instructions
Diffstat (limited to 'src/arch/arm/isa/templates/neon.isa')
-rw-r--r-- | src/arch/arm/isa/templates/neon.isa | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/arm/isa/templates/neon.isa b/src/arch/arm/isa/templates/neon.isa index 20c1d26b8..0e592c6e4 100644 --- a/src/arch/arm/isa/templates/neon.isa +++ b/src/arch/arm/isa/templates/neon.isa @@ -37,6 +37,14 @@ // // Authors: Gabe Black +let {{ + simdEnabledCheckCode = ''' + if (!neonEnabled(Cpacr, Cpsr, Fpexc)) + return disabledFault(); + ''' +}}; + + def template NeonRegRegRegOpDeclare {{ template <class _Element> class %(class_name)s : public %(base_class)s |