This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MIPS] Add saa and saad instructions for octeon


Hi,
  This patch adds the saa and saad instructions for Octeon.   They are
not part of the original Octeon but are part of the Octeon+.  We at
Cavium don't feel the need to add a new arch for it since this is the
only difference instruction wise and the original Octeon is no longer
in production.

OK? Tested with a cross binutils to mips64-linux-gnu with no regressions.

Thanks,
Andrew Pinski

PS I don't currently have binutils write access but Cavium has a
blanket copyright assignment on file.

gas/ChangeLog:
* config/tc-mips.c (macro): Add support for M_SAA_AB and M_SAAD_AB.
(mips_ip <case '(' >): Allow 's' after '('.

gas/testsuite/ChangeLog:
* gas/mips/mips.exp: Add octeon-saa-saad.
* gas/mips/octeon-saa-saad.d: New file.
* gas/mips/octeon-saa-saad.s: New file

include/opcode/ChangeLog:
* mips.h (M_SAA_AB, M_SAAD_AB): New enum values.

opcodes/ChangeLog:
* mips-opc.c (micromips_opcodes): Add "saa" and "saad".

Attachment: addsaa.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]