/*
 *  CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
 *  Copyright (C) 2014-2018 Mateusz Szpakowski
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef __CLRXTEST_GCNDISASMOPC_H__
#define __CLRXTEST_GCNDISASMOPC_H__

#include <cstdint>

struct GCNDisasmOpcodeCase
{
    uint32_t word0, word1;
    bool twoWords;
    const char* expected;
};

struct GCNDisasmOpcodeCase2
{
    uint32_t words[6];
    cxuint wordsNum;
    const char* expected;
};

extern const GCNDisasmOpcodeCase decGCNOpcodeCases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN11Cases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN12Cases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN14Cases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN141Cases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN15Cases[];
extern const GCNDisasmOpcodeCase2 decGCNOpcodeGCN15Cases2[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN151Cases[];
extern const GCNDisasmOpcodeCase decGCNOpcodeGCN15W32Cases[];

#endif
