misc.isa (7262:1548c622852f) misc.isa (7283:ef8b6a2798cf)
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

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

509 exec_output += PredOpExecute.subst(mrc15Iop)
510
511 mcr15Iop = InstObjParams("mcr", "Mcr15", "RegRegOp",
512 { "code": "MiscDest = Op1;",
513 "predicate_test": predicateTest }, [])
514 header_output += RegRegOpDeclare.subst(mcr15Iop)
515 decoder_output += RegRegOpConstructor.subst(mcr15Iop)
516 exec_output += PredOpExecute.subst(mcr15Iop)
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

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

509 exec_output += PredOpExecute.subst(mrc15Iop)
510
511 mcr15Iop = InstObjParams("mcr", "Mcr15", "RegRegOp",
512 { "code": "MiscDest = Op1;",
513 "predicate_test": predicateTest }, [])
514 header_output += RegRegOpDeclare.subst(mcr15Iop)
515 decoder_output += RegRegOpConstructor.subst(mcr15Iop)
516 exec_output += PredOpExecute.subst(mcr15Iop)
517
518 enterxCode = '''
519 FNPC = NPC | (1ULL << PcJBitShift) | (1ULL << PcTBitShift);
520 '''
521 enterxIop = InstObjParams("enterx", "Enterx", "PredOp",
522 { "code": enterxCode,
523 "predicate_test": predicateTest }, [])
524 header_output += BasicDeclare.subst(enterxIop)
525 decoder_output += BasicConstructor.subst(enterxIop)
526 exec_output += PredOpExecute.subst(enterxIop)
527
528 leavexCode = '''
529 FNPC = (NPC & ~(1ULL << PcJBitShift)) | (1ULL << PcTBitShift);
530 '''
531 leavexIop = InstObjParams("leavex", "Leavex", "PredOp",
532 { "code": leavexCode,
533 "predicate_test": predicateTest }, [])
534 header_output += BasicDeclare.subst(leavexIop)
535 decoder_output += BasicConstructor.subst(leavexIop)
536 exec_output += PredOpExecute.subst(leavexIop)
517}};
537}};