decl.hh (11700:7d4d424c9f17) | decl.hh (11737:50eceddc2286) |
---|---|
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: --- 711 unchanged lines hidden (view full) --- 720 const char *_opcode) 721 : CommonInstBase<typename DestDataType::OperandType, 722 typename SrcDataType::OperandType, 723 1>(ib, obj, _opcode) 724 { 725 } 726 }; 727 | 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: --- 711 unchanged lines hidden (view full) --- 720 const char *_opcode) 721 : CommonInstBase<typename DestDataType::OperandType, 722 typename SrcDataType::OperandType, 723 1>(ib, obj, _opcode) 724 { 725 } 726 }; 727 |
728 template<typename DestDataType, typename SrcDataType> 729 class PopcountInst : 730 public CommonInstBase<typename DestDataType::OperandType, 731 typename SrcDataType::OperandType, 1> 732 { 733 public: 734 std::string opcode_suffix() 735 { 736 return csprintf("_%s_%s", DestDataType::label, SrcDataType::label); 737 } 738 739 PopcountInst(const Brig::BrigInstBase *ib, const BrigObject *obj, 740 const char *_opcode) 741 : CommonInstBase<typename DestDataType::OperandType, 742 typename SrcDataType::OperandType, 743 1>(ib, obj, _opcode) 744 { 745 } 746 }; 747 |
|
728 class SpecialInstNoSrcNoDest : public HsailGPUStaticInst 729 { 730 public: 731 SpecialInstNoSrcNoDest(const Brig::BrigInstBase *ib, 732 const BrigObject *obj, const char *_opcode) 733 : HsailGPUStaticInst(obj, _opcode) 734 { 735 } --- 490 unchanged lines hidden --- | 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 } --- 490 unchanged lines hidden --- |