Deleted Added
sdiff udiff text old ( 11737:50eceddc2286 ) new ( 11738:ad7e8afa0dfe )
full compact
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:

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

740 const char *_opcode)
741 : CommonInstBase<typename DestDataType::OperandType,
742 typename SrcDataType::OperandType,
743 1>(ib, obj, _opcode)
744 {
745 }
746 };
747
748 class SpecialInstNoSrcNoDest : public HsailGPUStaticInst
749 {
750 public:
751 SpecialInstNoSrcNoDest(const Brig::BrigInstBase *ib,
752 const BrigObject *obj, const char *_opcode)
753 : HsailGPUStaticInst(obj, _opcode)
754 {
755 }
756
757 bool isVectorRegister(int operandIndex) { return false; }
758 bool isCondRegister(int operandIndex) { return false; }
759 bool isScalarRegister(int operandIndex) { return false; }
760 bool isSrcOperand(int operandIndex) { return false; }
761 bool isDstOperand(int operandIndex) { return false; }
762 int getOperandSize(int operandIndex) { return 0; }
763
764 int
765 getRegisterIndex(int operandIndex, GPUDynInstPtr gpuDynInst)
766 {
767 return -1;
768 }
769
770 int numSrcRegOperands() { return 0; }
771 int numDstRegOperands() { return 0; }
772 int getNumOperands() { return 0; }
773 };
774
775 template<typename DestOperandType>
776 class SpecialInstNoSrcBase : public HsailGPUStaticInst
777 {
778 protected:
779 typename DestOperandType::DestOperand dest;
780

--- 465 unchanged lines hidden ---