mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 13:11:08 +00:00
tcg/aarch64: Do not advertise minmax for MO_64
The min/max instructions are not available for 64-bit elements. Backports commit a7b6d286cfb5205b9f5330aefc5727269b3d810f from qemu
This commit is contained in:
parent
552e48f14e
commit
de260cfbd6
|
@ -2315,16 +2315,16 @@ int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece)
|
|||
case INDEX_op_sssub_vec:
|
||||
case INDEX_op_usadd_vec:
|
||||
case INDEX_op_ussub_vec:
|
||||
case INDEX_op_smax_vec:
|
||||
case INDEX_op_smin_vec:
|
||||
case INDEX_op_umax_vec:
|
||||
case INDEX_op_umin_vec:
|
||||
case INDEX_op_shlv_vec:
|
||||
return 1;
|
||||
case INDEX_op_shrv_vec:
|
||||
case INDEX_op_sarv_vec:
|
||||
return -1;
|
||||
case INDEX_op_mul_vec:
|
||||
case INDEX_op_smax_vec:
|
||||
case INDEX_op_smin_vec:
|
||||
case INDEX_op_umax_vec:
|
||||
case INDEX_op_umin_vec:
|
||||
return vece < MO_64;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue