neon64.isa (10197:a60405212dea) | neon64.isa (10474:799c8ee4ecba) |
---|---|
1// -*- mode: c++ -*- 2 3// Copyright (c) 2012-2013 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 --- 1059 unchanged lines hidden (view full) --- 1068 extCode = ''' 1069 for (unsigned i = 0; i < eCount; i++) { 1070 unsigned index = i + imm; 1071 if (index < eCount) { 1072 destReg.elements[i] = srcReg1.elements[index]; 1073 } else { 1074 index -= eCount; 1075 if (index >= eCount) { | 1// -*- mode: c++ -*- 2 3// Copyright (c) 2012-2013 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 --- 1059 unchanged lines hidden (view full) --- 1068 extCode = ''' 1069 for (unsigned i = 0; i < eCount; i++) { 1070 unsigned index = i + imm; 1071 if (index < eCount) { 1072 destReg.elements[i] = srcReg1.elements[index]; 1073 } else { 1074 index -= eCount; 1075 if (index >= eCount) { |
1076 fault = new UndefinedInstruction(machInst, false, mnemonic); | 1076 fault = std::make_shared<UndefinedInstruction>( 1077 machInst, false, mnemonic); |
1077 } else { 1078 destReg.elements[i] = srcReg2.elements[index]; 1079 } 1080 } 1081 } 1082 ''' 1083 extInstX("Ext", "ExtDX", "SimdMiscOp", ("uint8_t",), 2, extCode) 1084 extInstX("Ext", "ExtQX", "SimdMiscOp", ("uint8_t",), 4, extCode) --- 2274 unchanged lines hidden --- | 1078 } else { 1079 destReg.elements[i] = srcReg2.elements[index]; 1080 } 1081 } 1082 } 1083 ''' 1084 extInstX("Ext", "ExtDX", "SimdMiscOp", ("uint8_t",), 2, extCode) 1085 extInstX("Ext", "ExtQX", "SimdMiscOp", ("uint8_t",), 4, extCode) --- 2274 unchanged lines hidden --- |