1f5c6ee0cSPhilippe Mathieu-Daudé# MIPS SIMD Architecture Module instruction set 2f5c6ee0cSPhilippe Mathieu-Daudé# 3f5c6ee0cSPhilippe Mathieu-Daudé# Copyright (C) 2020 Philippe Mathieu-Daudé 4f5c6ee0cSPhilippe Mathieu-Daudé# 5f5c6ee0cSPhilippe Mathieu-Daudé# SPDX-License-Identifier: LGPL-2.1-or-later 6f5c6ee0cSPhilippe Mathieu-Daudé# 7f5c6ee0cSPhilippe Mathieu-Daudé# Reference: 8f5c6ee0cSPhilippe Mathieu-Daudé# MIPS Architecture for Programmers Volume IV-j 9f5c6ee0cSPhilippe Mathieu-Daudé# - The MIPS32 SIMD Architecture Module, Revision 1.12 10f5c6ee0cSPhilippe Mathieu-Daudé# (Document Number: MD00866-2B-MSA32-AFP-01.12) 11f5c6ee0cSPhilippe Mathieu-Daudé# - The MIPS64 SIMD Architecture Module, Revision 1.12 12f5c6ee0cSPhilippe Mathieu-Daudé# (Document Number: MD00868-1D-MSA64-AFP-01.12) 13f5c6ee0cSPhilippe Mathieu-Daudé 1434fe9fa3SPhilippe Mathieu-Daudé&r rs rt rd sa 15f5c6ee0cSPhilippe Mathieu-Daudé 16d61566cfSPhilippe Mathieu-Daudé&msa_bz df wt sa 1775094c33SPhilippe Mathieu-Daudé&msa_ldi df wd sa 18b8e74816SPhilippe Mathieu-Daudé&msa_i df wd ws sa 194701d23aSPhilippe Mathieu-Daudé&msa_bit df wd ws m 204701d23aSPhilippe Mathieu-Daudé 214701d23aSPhilippe Mathieu-Daudé%bit_df 16:7 !function=bit_df 224701d23aSPhilippe Mathieu-Daudé%bit_m 16:7 !function=bit_m 23f5c6ee0cSPhilippe Mathieu-Daudé 2434fe9fa3SPhilippe Mathieu-Daudé@lsa ...... rs:5 rt:5 rd:5 ... sa:2 ...... &r 25d61566cfSPhilippe Mathieu-Daudé@bz_v ...... ... .. wt:5 sa:16 &msa_bz df=3 26d61566cfSPhilippe Mathieu-Daudé@bz ...... ... df:2 wt:5 sa:16 &msa_bz 27b8e74816SPhilippe Mathieu-Daudé@u5 ...... ... df:2 sa:5 ws:5 wd:5 ...... &msa_i 28b8e74816SPhilippe Mathieu-Daudé@s5 ...... ... df:2 sa:s5 ws:5 wd:5 ...... &msa_i 29a9e17958SPhilippe Mathieu-Daudé@i8_df ...... df:2 sa:s8 ws:5 wd:5 ...... &msa_i 30*7cc351ffSPhilippe Mathieu-Daudé@i8 ...... .. sa:s8 ws:5 wd:5 ...... &msa_i df=0 3175094c33SPhilippe Mathieu-Daudé@ldi ...... ... df:2 sa:s10 wd:5 ...... &msa_ldi 324701d23aSPhilippe Mathieu-Daudé@bit ...... ... ....... ws:5 wd:5 ...... &msa_bit df=%bit_df m=%bit_m 33f5c6ee0cSPhilippe Mathieu-Daudé 34f5c6ee0cSPhilippe Mathieu-DaudéLSA 000000 ..... ..... ..... 000 .. 000101 @lsa 35f5c6ee0cSPhilippe Mathieu-DaudéDLSA 000000 ..... ..... ..... 000 .. 010101 @lsa 36f5c6ee0cSPhilippe Mathieu-Daudé 37d61566cfSPhilippe Mathieu-DaudéBZ_V 010001 01011 ..... ................ @bz_v 38d61566cfSPhilippe Mathieu-DaudéBNZ_V 010001 01111 ..... ................ @bz_v 39d61566cfSPhilippe Mathieu-DaudéBZ 010001 110 .. ..... ................ @bz 40d61566cfSPhilippe Mathieu-DaudéBNZ 010001 111 .. ..... ................ @bz 41f5c6ee0cSPhilippe Mathieu-Daudé 4275094c33SPhilippe Mathieu-Daudé{ 43*7cc351ffSPhilippe Mathieu-Daudé ANDI 011110 00 ........ ..... ..... 000000 @i8 44*7cc351ffSPhilippe Mathieu-Daudé ORI 011110 01 ........ ..... ..... 000000 @i8 45*7cc351ffSPhilippe Mathieu-Daudé NORI 011110 10 ........ ..... ..... 000000 @i8 46*7cc351ffSPhilippe Mathieu-Daudé XORI 011110 11 ........ ..... ..... 000000 @i8 47*7cc351ffSPhilippe Mathieu-Daudé BMNZI 011110 00 ........ ..... ..... 000001 @i8 48*7cc351ffSPhilippe Mathieu-Daudé BMZI 011110 01 ........ ..... ..... 000001 @i8 49*7cc351ffSPhilippe Mathieu-Daudé BSELI 011110 10 ........ ..... ..... 000001 @i8 50a9e17958SPhilippe Mathieu-Daudé SHF 011110 .. ........ ..... ..... 000010 @i8_df 51a9e17958SPhilippe Mathieu-Daudé 52b8e74816SPhilippe Mathieu-Daudé ADDVI 011110 000 .. ..... ..... ..... 000110 @u5 53b8e74816SPhilippe Mathieu-Daudé SUBVI 011110 001 .. ..... ..... ..... 000110 @u5 54b8e74816SPhilippe Mathieu-Daudé MAXI_S 011110 010 .. ..... ..... ..... 000110 @s5 55b8e74816SPhilippe Mathieu-Daudé MAXI_U 011110 011 .. ..... ..... ..... 000110 @u5 56b8e74816SPhilippe Mathieu-Daudé MINI_S 011110 100 .. ..... ..... ..... 000110 @s5 57b8e74816SPhilippe Mathieu-Daudé MINI_U 011110 101 .. ..... ..... ..... 000110 @u5 58b8e74816SPhilippe Mathieu-Daudé 59b8e74816SPhilippe Mathieu-Daudé CEQI 011110 000 .. ..... ..... ..... 000111 @s5 60b8e74816SPhilippe Mathieu-Daudé CLTI_S 011110 010 .. ..... ..... ..... 000111 @s5 61b8e74816SPhilippe Mathieu-Daudé CLTI_U 011110 011 .. ..... ..... ..... 000111 @u5 62b8e74816SPhilippe Mathieu-Daudé CLEI_S 011110 100 .. ..... ..... ..... 000111 @s5 63b8e74816SPhilippe Mathieu-Daudé CLEI_U 011110 101 .. ..... ..... ..... 000111 @u5 64b8e74816SPhilippe Mathieu-Daudé 6575094c33SPhilippe Mathieu-Daudé LDI 011110 110 .. .......... ..... 000111 @ldi 6675094c33SPhilippe Mathieu-Daudé 674701d23aSPhilippe Mathieu-Daudé SLLI 011110 000 ....... ..... ..... 001001 @bit 684701d23aSPhilippe Mathieu-Daudé SRAI 011110 001 ....... ..... ..... 001001 @bit 694701d23aSPhilippe Mathieu-Daudé SRLI 011110 010 ....... ..... ..... 001001 @bit 704701d23aSPhilippe Mathieu-Daudé BCLRI 011110 011 ....... ..... ..... 001001 @bit 714701d23aSPhilippe Mathieu-Daudé BSETI 011110 100 ....... ..... ..... 001001 @bit 724701d23aSPhilippe Mathieu-Daudé BNEGI 011110 101 ....... ..... ..... 001001 @bit 734701d23aSPhilippe Mathieu-Daudé BINSLI 011110 110 ....... ..... ..... 001001 @bit 744701d23aSPhilippe Mathieu-Daudé BINSRI 011110 111 ....... ..... ..... 001001 @bit 754701d23aSPhilippe Mathieu-Daudé 764701d23aSPhilippe Mathieu-Daudé SAT_S 011110 000 ....... ..... ..... 001010 @bit 774701d23aSPhilippe Mathieu-Daudé SAT_U 011110 001 ....... ..... ..... 001010 @bit 784701d23aSPhilippe Mathieu-Daudé SRARI 011110 010 ....... ..... ..... 001010 @bit 794701d23aSPhilippe Mathieu-Daudé SRLRI 011110 011 ....... ..... ..... 001010 @bit 804701d23aSPhilippe Mathieu-Daudé 81f5c6ee0cSPhilippe Mathieu-Daudé MSA 011110 -------------------------- 8275094c33SPhilippe Mathieu-Daudé} 83