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 --- 661 unchanged lines hidden (view full) --- 670 671 clrexCode = ''' 672 unsigned memAccessFlags = ArmISA::TLB::Clrex|3|Request::LLSC; 673 fault = xc->read(0, (uint32_t&)Mem, memAccessFlags); 674 ''' 675 clrexIop = InstObjParams("clrex", "Clrex","PredOp", 676 { "code": clrexCode, 677 "predicate_test": predicateTest },[]) |
678 header_output += ClrexDeclare.subst(clrexIop) |
679 decoder_output += BasicConstructor.subst(clrexIop) 680 exec_output += PredOpExecute.subst(clrexIop) |
681 exec_output += ClrexInitiateAcc.subst(clrexIop) 682 exec_output += ClrexCompleteAcc.subst(clrexIop) |
683 684 isbCode = ''' 685 ''' 686 isbIop = InstObjParams("isb", "Isb", "PredOp", 687 {"code": isbCode, 688 "predicate_test": predicateTest}, ['IsSerializing']) 689 header_output += BasicDeclare.subst(isbIop) 690 decoder_output += BasicConstructor.subst(isbIop) --- 53 unchanged lines hidden --- |