diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:57:59 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:57:59 -0500 |
commit | 4b87bc887adc020984702aeafeb038da861dc04a (patch) | |
tree | 24d2caab3b6b80f25a8a57c511a3fa2039940dbe /src/arch | |
parent | 322f345b5117f7cc0af711b21394ae494ed3ae04 (diff) | |
download | gem5-4b87bc887adc020984702aeafeb038da861dc04a.tar.xz |
ARM: Remove IsControl from operands that don't imply control transfers.
Also remove IsInteger from CondCodes.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/isa/copyright.txt | 12 | ||||
-rw-r--r-- | src/arch/arm/isa/operands.isa | 27 |
2 files changed, 31 insertions, 8 deletions
diff --git a/src/arch/arm/isa/copyright.txt b/src/arch/arm/isa/copyright.txt index 5a5c487dd..c97197393 100644 --- a/src/arch/arm/isa/copyright.txt +++ b/src/arch/arm/isa/copyright.txt @@ -1,3 +1,15 @@ +// Copyright (c) 2010 ARM Limited +// All rights reserved +// +// The license below extends only to copyright in the software and shall +// not be construed as granting a license to any other intellectual +// property including but not limited to intellectual property relating +// to a hardware implementation of the functionality of the software +// licensed hereunder. You may use the software subject to the license +// terms below provided that you ensure that this notice is replicated +// unmodified and in its entirety in all distributions of the software, +// modified or unmodified, in source code or in binary form. +// // Copyright (c) 2007, 2008 // The Florida State University // All Rights Reserved diff --git a/src/arch/arm/isa/operands.isa b/src/arch/arm/isa/operands.isa index aadefc79c..a476590a0 100644 --- a/src/arch/arm/isa/operands.isa +++ b/src/arch/arm/isa/operands.isa @@ -1,5 +1,16 @@ // -*- mode:c++ -*- - +// Copyright (c) 2010 ARM Limited +// All rights reserved +// +// The license below extends only to copyright in the software and shall +// not be construed as granting a license to any other intellectual +// property including but not limited to intellectual property relating +// to a hardware implementation of the functionality of the software +// licensed hereunder. You may use the software subject to the license +// terms below provided that you ensure that this notice is replicated +// unmodified and in its entirety in all distributions of the software, +// modified or unmodified, in source code or in binary form. +// // Copyright (c) 2007-2008 The Florida State University // All rights reserved. // @@ -67,7 +78,7 @@ def operands {{ 'Rhi': ('IntReg', 'uw', 'INTREG_RHI', 'IsInteger', 7), 'Rlo': ('IntReg', 'uw', 'INTREG_RLO', 'IsInteger', 8), 'LR': ('IntReg', 'uw', 'INTREG_LR', 'IsInteger', 9), - 'CondCodes': ('IntReg', 'uw', 'INTREG_CONDCODES', 'IsInteger', 10), + 'CondCodes': ('IntReg', 'uw', 'INTREG_CONDCODES', None, 10), #Register fields for microops 'Ra' : ('IntReg', 'uw', 'ura', 'IsInteger', 11, maybePCRead, maybePCWrite), @@ -81,12 +92,12 @@ def operands {{ #Memory Operand 'Mem': ('Mem', 'uw', None, ('IsMemRef', 'IsLoad', 'IsStore'), 30), - 'Cpsr': ('ControlReg', 'uw', 'MISCREG_CPSR', (None, None, 'IsControl'), 40), - 'Spsr': ('ControlReg', 'uw', 'MISCREG_SPSR', (None, None, 'IsControl'), 41), - 'Fpsr': ('ControlReg', 'uw', 'MISCREG_FPSR', (None, None, 'IsControl'), 42), - 'Fpsid': ('ControlReg', 'uw', 'MISCREG_FPSID', (None, None, 'IsControl'), 43), - 'Fpscr': ('ControlReg', 'uw', 'MISCREG_FPSCR', (None, None, 'IsControl'), 44), - 'Fpexc': ('ControlReg', 'uw', 'MISCREG_FPEXC', (None, None, 'IsControl'), 45), + 'Cpsr': ('ControlReg', 'uw', 'MISCREG_CPSR', None, 40), + 'Spsr': ('ControlReg', 'uw', 'MISCREG_SPSR', None, 41), + 'Fpsr': ('ControlReg', 'uw', 'MISCREG_FPSR', None, 42), + 'Fpsid': ('ControlReg', 'uw', 'MISCREG_FPSID', None, 43), + 'Fpscr': ('ControlReg', 'uw', 'MISCREG_FPSCR', None, 44), + 'Fpexc': ('ControlReg', 'uw', 'MISCREG_FPEXC', None, 45), 'NPC': ('NPC', 'uw', None, (None, None, 'IsControl'), 50), 'NNPC': ('NNPC', 'uw', None, (None, None, 'IsControl'), 51) |