/* SPU opcode list12Copyright 2006 Free Software Foundation, Inc.34This file is part of GDB, GAS, and the GNU binutils.56This program is free software; you can redistribute it and/or modify7it under the terms of the GNU General Public License as published by8the Free Software Foundation; either version 2 of the License, or9(at your option) any later version.1011This program is distributed in the hope that it will be useful,12but WITHOUT ANY WARRANTY; without even the implied warranty of13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14GNU General Public License for more details.1516You should have received a copy of the GNU General Public License along17with this program; if not, write to the Free Software Foundation, Inc.,1851 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */1920#include <linux/kernel.h>21#include "spu.h"2223/* This file holds the Spu opcode table */242526/*27Example contents of spu-insn.h28id_tag mode mode type opcode mnemonic asmtype dependency FPU L/S? branch? instruction29QUAD WORD (0,RC,RB,RA,RT) latency30APUOP(M_LQD, 1, 0, RI9, 0x1f8, "lqd", ASM_RI9IDX, 00012, FXU, 1, 0) Load Quadword d-form31*/3233const struct spu_opcode spu_opcodes[] = {34#define APUOP(TAG,MACFORMAT,OPCODE,MNEMONIC,ASMFORMAT,DEP,PIPE) \35{ MACFORMAT, OPCODE, MNEMONIC, ASMFORMAT },36#define APUOPFB(TAG,MACFORMAT,OPCODE,FB,MNEMONIC,ASMFORMAT,DEP,PIPE) \37{ MACFORMAT, OPCODE, MNEMONIC, ASMFORMAT },38#include "spu-insns.h"39#undef APUOP40#undef APUOPFB41};4243const int spu_num_opcodes = ARRAY_SIZE(spu_opcodes);444546