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]

[PATCH MIPS][LS3A] Add Loongson3A mul/div instructions


Hello,
This patch adds Loongson3A mul/div instructions.
Is it OK?


Thanks,
Mingming Sun


2010-11-29 Mingming Sun <mingm.sun@gmail.com>
	gas/ChangeLog
	* config/tc-mips.c (macro_build): Add loongson3a-specific instructions support.
	(validate_mips_insn): Likewise.
	(mips_ip): Likewise.

	include/ChangeLog
	* opcode/mips.h: Define OP_SH_MINUS_A, OP_MASK_MINUS_A, OP_SH_MINUS_B,
	OP_MASK_MINUS_B, OP_SH_MINUS_F, OP_MASK_MINUS_F, OP_SH_RY, OP_MASK_RY,
	OP_SH_FZ, OP_MASK_FZ, INSN_WRITE_GPR_Y, INSN_WRITE_FPR_Z,
	INSN_READ_GPR_D, INSN_READ_GPR_Y, INSN_READ_FPR_Z.

	opcodes/ChangeLog
	* mips-dis.c (print_insn_args): Add loongson3a-specific instructions support.
	* mips-opc.c: Define WR_z, RD_y, RD_z, RD_d.
	(mips_builtin_opcodes): Add loongson3a-specific instructions.

Attachment: foo.patch
Description: Binary data


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