misc.isa (8205:7ecbffb674aa) misc.isa (8209:9e3f7f00fa90)
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

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

675 { "code": setendCode,
676 "predicate_test": predicateTest },
677 ["IsSerializeAfter","IsNonSpeculative"])
678 header_output += ImmOpDeclare.subst(setendIop)
679 decoder_output += ImmOpConstructor.subst(setendIop)
680 exec_output += PredOpExecute.subst(setendIop)
681
682 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

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

675 { "code": setendCode,
676 "predicate_test": predicateTest },
677 ["IsSerializeAfter","IsNonSpeculative"])
678 header_output += ImmOpDeclare.subst(setendIop)
679 decoder_output += ImmOpConstructor.subst(setendIop)
680 exec_output += PredOpExecute.subst(setendIop)
681
682 clrexCode = '''
683 unsigned memAccessFlags = Request::CLEAR_LL |
684 ArmISA::TLB::AlignWord | Request::LLSC;
685 fault = xc->read(0, (uint32_t&)Mem, memAccessFlags);
683 LLSCLock = 0;
686 '''
687 clrexIop = InstObjParams("clrex", "Clrex","PredOp",
688 { "code": clrexCode,
689 "predicate_test": predicateTest },[])
684 '''
685 clrexIop = InstObjParams("clrex", "Clrex","PredOp",
686 { "code": clrexCode,
687 "predicate_test": predicateTest },[])
690 header_output += ClrexDeclare.subst(clrexIop)
688 header_output += BasicDeclare.subst(clrexIop)
691 decoder_output += BasicConstructor.subst(clrexIop)
692 exec_output += PredOpExecute.subst(clrexIop)
689 decoder_output += BasicConstructor.subst(clrexIop)
690 exec_output += PredOpExecute.subst(clrexIop)
693 exec_output += ClrexInitiateAcc.subst(clrexIop)
694 exec_output += ClrexCompleteAcc.subst(clrexIop)
695
696 isbCode = '''
697 fault = new FlushPipe;
698 '''
699 isbIop = InstObjParams("isb", "Isb", "PredOp",
700 {"code": isbCode,
701 "predicate_test": predicateTest},
702 ['IsSerializeAfter'])

--- 67 unchanged lines hidden ---
691
692 isbCode = '''
693 fault = new FlushPipe;
694 '''
695 isbIop = InstObjParams("isb", "Isb", "PredOp",
696 {"code": isbCode,
697 "predicate_test": predicateTest},
698 ['IsSerializeAfter'])

--- 67 unchanged lines hidden ---