Skip to content

Merge 8b859c6e4a8e9ab9969582267bbdc04ed6bfa535 into 18.1.x #88336

Closed
@brad0

Description

@brad0

[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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions