PHAS

Moves

fixed bit field field the encoding fixes should be

Encoding

6362616059585756555453525150494847464544434241403938373635343332
11111010sprvv100endimmsrc1_extsrc2_extmoderate_hirate_lo_or_noschedwait_condtemp_count
313029282726252423222120191817161514131211109876543210
src1_banksrc2_bankexe_addr_highsrc1_n_or_exe_addr_midsrc2_n_or_exe_addr_low

bits 63:0: 1111 1010 x100 xxxx --xx xxxx xxxx xxxx xxxx ---- ---- xxxx xxxx xxxx xxxx xxxx

It is in a group of patterns that may match the same word: the decoder tries them in this order, and the first that matches decodes it: SMP, PHAS, NOP, BR, SMLSI, SMBO, KILL, LIMM, DEPTHF, SPEC, VLDST.

Runs execute_NOTHING with Form() 0.

Fields

Its operation is 4 opcodes' (Form() tells them apart), so it may read the fields of their layouts too.

FieldBitsThe Sail reads it in
sprvv55
end51
imm50
src1_ext49
src2_ext48
mode45
rate_hi44
rate_lo_or_nosched43
wait_cond42:40
temp_count39:32
src1_bank31:30
src2_bank29:28
exe_addr_high19:14
src1_n_or_exe_addr_mid13:7
src2_n_or_exe_addr_low6:0

Operation Sail

PHAS, NOP, BR (the program's blocks are translate_code's) and the special instructions SPEC names: nothing

()

Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).