misc.isa (7692:8173327c9c65) misc.isa (7705:fd65f85fcc0c)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 657 unchanged lines hidden (view full) ---

666 { "code": setendCode,
667 "predicate_test": predicateTest },
668 ["IsSerializeAfter","IsNonSpeculative"])
669 header_output += ImmOpDeclare.subst(setendIop)
670 decoder_output += ImmOpConstructor.subst(setendIop)
671 exec_output += PredOpExecute.subst(setendIop)
672
673 clrexCode = '''
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 657 unchanged lines hidden (view full) ---

666 { "code": setendCode,
667 "predicate_test": predicateTest },
668 ["IsSerializeAfter","IsNonSpeculative"])
669 header_output += ImmOpDeclare.subst(setendIop)
670 decoder_output += ImmOpConstructor.subst(setendIop)
671 exec_output += PredOpExecute.subst(setendIop)
672
673 clrexCode = '''
674 unsigned memAccessFlags = Request::CLREX|3|Request::LLSC;
674 unsigned memAccessFlags = Request::CLEAR_LL |
675 ArmISA::TLB::AlignWord | Request::LLSC;
675 fault = xc->read(0, (uint32_t&)Mem, memAccessFlags);
676 '''
677 clrexIop = InstObjParams("clrex", "Clrex","PredOp",
678 { "code": clrexCode,
679 "predicate_test": predicateTest },[])
680 header_output += ClrexDeclare.subst(clrexIop)
681 decoder_output += BasicConstructor.subst(clrexIop)
682 exec_output += PredOpExecute.subst(clrexIop)

--- 72 unchanged lines hidden ---
676 fault = xc->read(0, (uint32_t&)Mem, memAccessFlags);
677 '''
678 clrexIop = InstObjParams("clrex", "Clrex","PredOp",
679 { "code": clrexCode,
680 "predicate_test": predicateTest },[])
681 header_output += ClrexDeclare.subst(clrexIop)
682 decoder_output += BasicConstructor.subst(clrexIop)
683 exec_output += PredOpExecute.subst(clrexIop)

--- 72 unchanged lines hidden ---