Deleted Added
sdiff udiff text old ( 7692:8173327c9c65 ) new ( 7705:fd65f85fcc0c )
full compact
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;
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 ---