mult.isa (8303:5a95f1d2494e) | mult.isa (8304:16911ff780d3) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82 base = 'Mult3' 83 else: 84 base = 'Mult4' 85 86 Name = mnem.capitalize() 87 88 if unCc: 89 iop = InstObjParams(mnem, Name, base, | 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 --- 73 unchanged lines hidden (view full) --- 82 base = 'Mult3' 83 else: 84 base = 'Mult4' 85 86 Name = mnem.capitalize() 87 88 if unCc: 89 iop = InstObjParams(mnem, Name, base, |
90 {"code" : code, 91 "predicate_test": predicateTest, 92 "op_class": "IntMultOp" }) | 90 {"code" : code, 91 "predicate_test": pickPredicate(code), 92 "op_class": "IntMultOp" }) |
93 if doCc: 94 iopCc = InstObjParams(mnem + "s", Name + "Cc", base, | 93 if doCc: 94 iopCc = InstObjParams(mnem + "s", Name + "Cc", base, |
95 {"code" : code + ccCode, 96 "predicate_test": condPredicateTest, 97 "op_class": "IntMultOp" }) | 95 {"code" : code + ccCode, 96 "predicate_test": pickPredicate(code + ccCode), 97 "op_class": "IntMultOp" }) |
98 99 if regs == 3: 100 declare = Mult3Declare 101 constructor = Mult3Constructor 102 else: 103 declare = Mult4Declare 104 constructor = Mult4Constructor 105 --- 284 unchanged lines hidden --- | 98 99 if regs == 3: 100 declare = Mult3Declare 101 constructor = Mult3Constructor 102 else: 103 declare = Mult4Declare 104 constructor = Mult4Constructor 105 --- 284 unchanged lines hidden --- |