From: Tony Wu <tung7970@gmail.com>
To: ralf@linux-mips.org, Steven.Hill@imgtec.com,
macro@linux-mips.org, david.daney@cavium.com,
linux-mips@linux-mips.org
Subject: [PATCH v3 1/3] MIPS: microMIPS: Fix POOL16C minor opcode enum
Date: Mon, 27 May 2013 18:59:59 +0800 [thread overview]
Message-ID: <20130527105959.GB31548@hades> (raw)
In-Reply-To: <20130527105810.GA31548@hades>
As pointed out by Maciej, POOL16C minor opcodes were mostly shifted
by one bit. Correct those opcodes, and also add jraddiusp to the enum.
Signed-off-by: Tony Wu <tung7970@gmail.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
---
arch/mips/include/uapi/asm/inst.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h
index 0f4aec2..473a2ac 100644
--- a/arch/mips/include/uapi/asm/inst.h
+++ b/arch/mips/include/uapi/asm/inst.h
@@ -409,10 +409,11 @@ enum mm_32f_73_minor_op {
enum mm_16c_minor_op {
mm_lwm16_op = 0x04,
mm_swm16_op = 0x05,
- mm_jr16_op = 0x18,
- mm_jrc_op = 0x1a,
- mm_jalr16_op = 0x1c,
- mm_jalrs16_op = 0x1e,
+ mm_jr16_op = 0x0c,
+ mm_jraddiusp_op = 0x18,
+ mm_jrc_op = 0x0d,
+ mm_jalr16_op = 0x1e,
+ mm_jalrs16_op = 0x1f,
};
/*
--
1.7.10.2 (Apple Git-33)
next prev parent reply other threads:[~2013-05-27 11:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 10:58 [PATCH v3 0/3] MIPS: microMIPS: Refactor get_frame_info support Tony Wu
2013-05-27 10:59 ` Tony Wu [this message]
2013-05-27 12:32 ` [PATCH v3 1/3] MIPS: microMIPS: Fix POOL16C minor opcode enum Maciej W. Rozycki
2013-05-27 11:01 ` [PATCH v3 2/3] MIPS: microMIPS: Add kernel_uses_mmips in cpu-features.h Tony Wu
2013-05-27 11:02 ` [PATCH v3 3/3] MIPS: microMIPS: Refactor get_frame_info support Tony Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130527105959.GB31548@hades \
--to=tung7970@gmail.com \
--cc=Steven.Hill@imgtec.com \
--cc=david.daney@cavium.com \
--cc=linux-mips@linux-mips.org \
--cc=macro@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox