misc.isa (7251:5ca3c60f8b59) | misc.isa (7252:bba68021edca) |
---|---|
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 --- 163 unchanged lines hidden (view full) --- 172 "predicate_test": predicateTest }, []) 173 header_output += RevOpDeclare.subst(rbitIop) 174 decoder_output += RevOpConstructor.subst(rbitIop) 175 exec_output += PredOpExecute.subst(rbitIop) 176 177 clzCode = ''' 178 Dest = (Op1 == 0) ? 32 : (31 - findMsbSet(Op1)); 179 ''' | 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 --- 163 unchanged lines hidden (view full) --- 172 "predicate_test": predicateTest }, []) 173 header_output += RevOpDeclare.subst(rbitIop) 174 decoder_output += RevOpConstructor.subst(rbitIop) 175 exec_output += PredOpExecute.subst(rbitIop) 176 177 clzCode = ''' 178 Dest = (Op1 == 0) ? 32 : (31 - findMsbSet(Op1)); 179 ''' |
180 clzIop = InstObjParams("clz", "ClzInst", "RevOp", | 180 clzIop = InstObjParams("clz", "Clz", "RevOp", |
181 { "code": clzCode, 182 "predicate_test": predicateTest }, []) 183 header_output += RevOpDeclare.subst(clzIop) 184 decoder_output += RevOpConstructor.subst(clzIop) 185 exec_output += PredOpExecute.subst(clzIop) 186 187 ssatCode = ''' 188 int32_t operand = shift_rm_imm(Op1, shiftAmt, shiftType, 0); --- 273 unchanged lines hidden --- | 181 { "code": clzCode, 182 "predicate_test": predicateTest }, []) 183 header_output += RevOpDeclare.subst(clzIop) 184 decoder_output += RevOpConstructor.subst(clzIop) 185 exec_output += PredOpExecute.subst(clzIop) 186 187 ssatCode = ''' 188 int32_t operand = shift_rm_imm(Op1, shiftAmt, shiftType, 0); --- 273 unchanged lines hidden --- |