target/mips: Fix df_extract_val() and df_extract_df() dfe lookup
authorNi Hui <shuizhuyuanluo@126.com>
Tue, 3 May 2022 13:07:06 +0000 (21:07 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:34:12 +0000 (11:34 +0200)
commit7fc235c67f6c136ceba2305bcf2609c46a74620d
tree16e2ee5cd50500e7711dd4b90bb4f19a80c6d75d
parent954d1658bde4e756e305334836fd86d398803242
target/mips: Fix df_extract_val() and df_extract_df() dfe lookup

Actually look into dfe structure data so that df_extract_val() and
df_extract_df() can return immediate and datafield other than BYTE.

Fixes: 4701d23aef ("target/mips: Convert MSA BIT instruction format to decodetree")
Signed-off-by: Ni Hui <shuizhuyuanluo@126.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220503130708.272850-2-shuizhuyuanluo@126.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/mips/tcg/msa_translate.c