gpu_static_inst.hh (11308:7d8836fd043d) | gpu_static_inst.hh (11690:3027d6c34fa4) |
---|---|
1/* 2 * Copyright (c) 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: --- 42 unchanged lines hidden (view full) --- 51{ 52 class HsailGPUStaticInst : public GPUStaticInst 53 { 54 public: 55 HsailGPUStaticInst(const BrigObject *obj, const std::string &opcode); 56 void generateDisassembly(); 57 const std::string &disassemble(); 58 uint32_t instSize() { return 4; } | 1/* 2 * Copyright (c) 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: --- 42 unchanged lines hidden (view full) --- 51{ 52 class HsailGPUStaticInst : public GPUStaticInst 53 { 54 public: 55 HsailGPUStaticInst(const BrigObject *obj, const std::string &opcode); 56 void generateDisassembly(); 57 const std::string &disassemble(); 58 uint32_t instSize() { return 4; } |
59 bool isValid() const override { return true; } |
|
59 60 protected: 61 HsailCode *hsailCode; 62 }; 63} // namespace HsailISA 64 65#endif // __ARCH_HSAIL_INSTS_GPU_STATIC_INST_HH__ | 60 61 protected: 62 HsailCode *hsailCode; 63 }; 64} // namespace HsailISA 65 66#endif // __ARCH_HSAIL_INSTS_GPU_STATIC_INST_HH__ |