From 4b87bc887adc020984702aeafeb038da861dc04a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 2 Jun 2010 12:57:59 -0500 Subject: ARM: Remove IsControl from operands that don't imply control transfers. Also remove IsInteger from CondCodes. --- src/arch/arm/isa/copyright.txt | 12 ++++++++++++ src/arch/arm/isa/operands.isa | 27 +++++++++++++++++++-------- 2 files changed, 31 insertions(+), 8 deletions(-) (limited to 'src/arch/arm/isa') 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) -- cgit v1.2.3