misc.isa (7609:70e5fb74b4fa) misc.isa (7612:917946898102)
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

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

664 setendIop = InstObjParams("setend", "Setend", "ImmOp",
665 { "code": setendCode,
666 "predicate_test": predicateTest }, [])
667 header_output += ImmOpDeclare.subst(setendIop)
668 decoder_output += ImmOpConstructor.subst(setendIop)
669 exec_output += PredOpExecute.subst(setendIop)
670
671 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

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

664 setendIop = InstObjParams("setend", "Setend", "ImmOp",
665 { "code": setendCode,
666 "predicate_test": predicateTest }, [])
667 header_output += ImmOpDeclare.subst(setendIop)
668 decoder_output += ImmOpConstructor.subst(setendIop)
669 exec_output += PredOpExecute.subst(setendIop)
670
671 clrexCode = '''
672 unsigned memAccessFlags = ArmISA::TLB::Clrex|3|Request::LLSC;
672 unsigned memAccessFlags = Request::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)

--- 63 unchanged lines hidden ---
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)

--- 63 unchanged lines hidden ---