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 cpsCode = '''
712 uint32_t mode = bits(imm, 4, 0);
713 uint32_t f = bits(imm, 5);
714 uint32_t i = bits(imm, 6);
715 uint32_t a = bits(imm, 7);
716 bool setMode = bits(imm, 8);
717 bool enable = bits(imm, 9);
718 CPSR cpsr = Cpsr;
--- 25 unchanged lines hidden ---
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 cpsCode = '''
712 uint32_t mode = bits(imm, 4, 0);
713 uint32_t f = bits(imm, 5);
714 uint32_t i = bits(imm, 6);
715 uint32_t a = bits(imm, 7);
716 bool setMode = bits(imm, 8);
717 bool enable = bits(imm, 9);
718 CPSR cpsr = Cpsr;
--- 25 unchanged lines hidden ---