<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88336>88336</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Merge 8b859c6e4a8e9ab9969582267bbdc04ed6bfa535 into 18.1.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
brad0
</td>
</tr>
</table>
<pre>
[MIPS] Fix the opcode of max.fmt and mina.fmt (#85609)
- The opcode of the mina.fmt and max.fmt is documented wrong, the
object code compiled from the same assembly with LLVM behaves
differently than one compiled with GCC and Binutils.
- Modify the opcodes to match Binutils. The actual opcodes are as
follows:
{5,3} | bits {2,0} of func
| ... | 100 | 101 | 110 | 111
-----+-----+-----+-----+-----+-----
010 | ... | min | mina | max | maxa
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMks2O2yAQx58GX0axYPx98GGTKFWljVSpVe9gxjEVNpHBm-TtK5yP3d7KAQb4z28GZqT35jQRtazYsmKfyCUMbm7VLDVPlNO3eHH8_uMnK_ZwMFcIA4E7d04TuB5GeU37MYCcNIxmkuuGYc0wq4uSNwwbxveMv93nDfz6xz3CXm4r48EzHrTrlpGmQBous5tODHdRfwcBOPWHugArqXPj2VjS0M9uXKFejgTSexqVvcHFhAHe338fQdEgP8g_INr0Pc00BXuDMMgJ3PQFtnp92-3WxLZmWoKxPn0-5Oi06W9fvsNDcDDK0A2f4vW5sguLtC-VnGNmd0zvrHUXz7K3r78EwKptwXCXsWoPrNqBMsHHQ2S44_HQ9dAvU_fUv0YUA0Capo-N4PxpiKdACP6yxAOxiYPh9v_WZ1gu-DPmZ8hY0bsVS3s35BWehkx0m-kma2RCragEVk1dZ3kytLLKirIpJZe5KnNdZagVKZ4jp66siyYxLXLMeS4EF1iJPO0bjZznvOoz1DrLWc5plMam1n6MqZtPifF-obaus6xMrFRk_drpiBNdYL1kiLHx5zb6bNRy8izn1vjgPynBBEvtkeYTQa3qoulKymVNjVRNUzZFjVhWSumO56RL1csiK8BMwYGoU5Fek2W27RDCeS01HhgeTiYMi0o7NzI8xECPZXOeXexshoc1Pc_wsKb_NwAA__-DexH2">