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 --- 694 unchanged lines hidden (view full) --- 703 ''' 704 dmbIop = InstObjParams("dmb", "Dmb", "PredOp", 705 {"code": dmbCode, 706 "predicate_test": predicateTest},['IsMemBarrier']) 707 header_output += BasicDeclare.subst(dmbIop) 708 decoder_output += BasicConstructor.subst(dmbIop) 709 exec_output += PredOpExecute.subst(dmbIop) 710 |
711 dbgCode = ''' 712 ''' 713 dbgIop = InstObjParams("dbg", "Dbg", "PredOp", 714 {"code": dbgCode, 715 "predicate_test": predicateTest}) 716 header_output += BasicDeclare.subst(dbgIop) 717 decoder_output += BasicConstructor.subst(dbgIop) 718 exec_output += PredOpExecute.subst(dbgIop) 719 |
720 cpsCode = ''' 721 uint32_t mode = bits(imm, 4, 0); 722 uint32_t f = bits(imm, 5); 723 uint32_t i = bits(imm, 6); 724 uint32_t a = bits(imm, 7); 725 bool setMode = bits(imm, 8); 726 bool enable = bits(imm, 9); 727 CPSR cpsr = Cpsr; --- 25 unchanged lines hidden --- |