mem.hh (11308:7d8836fd043d) | mem.hh (11325:67cc559d513a) |
---|---|
1/* 2 * Copyright (c) 2012-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 1225 unchanged lines hidden (view full) --- 1234 } 1235 } 1236 } 1237 1238 int numSrcRegOperands() 1239 { 1240 int operands = 0; 1241 for (int i = 0; i < NumSrcOperands; i++) { | 1/* 2 * Copyright (c) 2012-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 1225 unchanged lines hidden (view full) --- 1234 } 1235 } 1236 } 1237 1238 int numSrcRegOperands() 1239 { 1240 int operands = 0; 1241 for (int i = 0; i < NumSrcOperands; i++) { |
1242 if (src[i].isVectorRegister() == true) { | 1242 if (src[i].isVectorRegister()) { |
1243 operands++; 1244 } 1245 } 1246 if (addr.isVectorRegister()) 1247 operands++; 1248 return operands; 1249 } 1250 int numDstRegOperands() { return dest.isVectorRegister(); } --- 379 unchanged lines hidden --- | 1243 operands++; 1244 } 1245 } 1246 if (addr.isVectorRegister()) 1247 operands++; 1248 return operands; 1249 } 1250 int numDstRegOperands() { return dest.isVectorRegister(); } --- 379 unchanged lines hidden --- |