diff options
author | Cinhi Young <cyanoxygen2725@gmail.com> | 2024-04-03 10:14:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 10:14:02 +0800 |
commit | 8b859c6e4a8e9ab9969582267bbdc04ed6bfa535 (patch) | |
tree | ee25e821e5920dcee93517c903a7c7ad9db97de4 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 943f39d29e1ec0d005977e6c3e85390119b8cb4e (diff) | |
download | llvm-8b859c6e4a8e9ab9969582267bbdc04ed6bfa535.zip llvm-8b859c6e4a8e9ab9969582267bbdc04ed6bfa535.tar.gz llvm-8b859c6e4a8e9ab9969582267bbdc04ed6bfa535.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions