target-mips: Add comments on POOL32Axf encoding
PATCH 1/1 target-mips: Add comments on POOL32Axf encoding
Hi all,
Current QEMU MIPS POOL32AXF encoding comes from microMIPS32
and microMIPS32 DSP. Add comment here to help reading.
Please review, thanks.
Regards,
chenwj
--- target-mips/translate.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
target-mips/translate.c +17 -0
@@ -10359,6 +10359,19 @@ enum {/* POOL32AXF encoding of minor opcode field extension */ +/* +* 1. MIPS Architecture for Programmers Volume II-B: +* The microMIPS32 Instruction Set (Revision 3.05) +* +* Table 6.5 POOL32Axf Encoding of Minor Opcode Extension Field +* +* 2. MIPS Architecture for Programmers VolumeIV-e: +* The MIPS DSP Application-Specific Extension +* to the microMIPS32 Architecture (Revision 2.34) +* +* Table 5.5 POOL32Axf Encoding of Minor Opcode Extension Field +*/ +enum {/* bits 11..6 */ TEQ =0x00 ,
@@ -10371,6 +10384,8 @@ enum {MFC0 =0x03 ,MTC0 =0x0b , +/* begin of microMIPS32 DSP */ +/* bits 13..12 for 0x01 */ MFHI_ACC =0x0 , MFLO_ACC = 0x1,
@@ -10387,6 +10402,8 @@ enum {MULT_ACC =0x0 ,MULTU_ACC =0x1 , +/* end of microMIPS32 DSP */ +/* bits 15..12 for 0x2c */ SEB =0x2 , SEH = 0x3,
Signature · 1 line
1.7.3.4
Quoted 5 lines · 陳韋任 (Wei-Ren Chen)
Current QEMU MIPS POOL32AXF encoding comes from microMIPS32
and microMIPS32 DSP. Add comment here to help reading.Please review, thanks.
Quoted 7 lines
Regards,
chenwjSigned-off-by Chen Wei-Ren <[email protected]>--- target-mips/translate.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
Please send this through Aurelien. Perhaps there's more to discuss about how the various MIPS instruction sets should be organized in QEMU.
Stefan
Quoted 9 lines · Stefan Hajnoczi
Quoted 8 lines · 陳韋任 (Wei-Ren Chen)
Current QEMU MIPS POOL32AXF encoding comes from microMIPS32
and microMIPS32 DSP. Add comment here to help reading.Please review, thanks.
Regards,
chenwj
Quoted 7 lines
Quoted 4 lines
Signed-off-by Chen Wei-Ren <[email protected]>--- target-mips/translate.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)Please send this through Aurelien. Perhaps there's more to discuss about how the various MIPS instruction sets should be organized in QEMU.
Got it. ;)
Signature · 5 lines
Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
ping?
Quoted 59 lines · 陳韋任 (Wei-Ren Chen)
Hi all,
Current QEMU MIPS POOL32AXF encoding comes from microMIPS32
and microMIPS32 DSP. Add comment here to help reading.Please review, thanks.
Regards,
chenwjSigned-off-by Chen Wei-Ren <[email protected]>--- target-mips/translate.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)target-mips/translate.c +17
-0@@ -10359,6 +10359,19 @@ enum {/* POOL32AXF encoding of minor opcode field extension */ +/* +* 1. MIPS Architecture for Programmers Volume II-B: +* The microMIPS32 Instruction Set (Revision 3.05) +* +* Table 6.5 POOL32Axf Encoding of Minor Opcode Extension Field +* +* 2. MIPS Architecture for Programmers VolumeIV-e: +* The MIPS DSP Application-Specific Extension +* to the microMIPS32 Architecture (Revision 2.34) +* +* Table 5.5 POOL32Axf Encoding of Minor Opcode Extension Field +*/ +enum {/* bits 11..6 */ TEQ =0x00 ,@@ -10371,6 +10384,8 @@ enum {MFC0 =0x03 ,MTC0 =0x0b , +/* begin of microMIPS32 DSP */ +/* bits 13..12 for 0x01 */ MFHI_ACC =0x0 , MFLO_ACC = 0x1,@@ -10387,6 +10402,8 @@ enum {MULT_ACC =0x0 ,MULTU_ACC =0x1 , +/* end of microMIPS32 DSP */ +/* bits 15..12 for 0x2c */ SEB =0x2 , SEH = 0x3,Signature · 1 line
1.7.3.4
Signature · 5 lines
Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Hi Chen,
The contents of the patch are OK.
The formatting of the message is incorrect. Anything before the first '---' will be used as the comment for the commit. It should not have "Hi all," "Please review, thanks. Regards, checnwj"
If you want to include these additional comments, put them after the first '---' and before changed file summary.
Quoted 1 line
---
[Additional comments here]
Quoted 1 line
target-mips/translate.c | 17 +++++++++++++++++
Please review the "SubmittingPatches 1.12" link on the http://wiki.qemu.org/Contribute/SubmitAPatch page.
-Eric
Quoted 66 lines
-----Original Message-----
From: 陳韋任 (Wei-Ren Chen) [mailto:[email protected]]
Sent: Thursday, November 15, 2012 6:30 PM
To: [email protected]; [email protected]
Cc: Johnson, Eric; Aurelien Jarno; Jia Liu
Subject: [PATCH] target-mips: Add comments on POOL32Axf encodingHi all,
Current QEMU MIPS POOL32AXF encoding comes from microMIPS32
and microMIPS32 DSP. Add comment here to help reading.Please review, thanks.
Regards,
chenwjSigned-off-by Chen Wei-Ren <[email protected]>--- target-mips/translate.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)target-mips/translate.c +17
-1@@ -10359,6 +10359,19 @@ enum {/* POOL32AXF encoding of minor opcode field extension */ +/* +* 1. MIPS Architecture for Programmers Volume II-B: +* The microMIPS32 Instruction Set (Revision 3.05) +* +* Table 6.5 POOL32Axf Encoding of Minor Opcode Extension Field +* +* 2. MIPS Architecture for Programmers VolumeIV-e: +* The MIPS DSP Application-Specific Extension +* to the microMIPS32 Architecture (Revision 2.34) +* +* Table 5.5 POOL32Axf Encoding of Minor Opcode Extension Field +*/ +enum {/* bits 11..6 */ TEQ =0x00 ,@@ -10371,6 +10384,8 @@ enum {MFC0 =0x03 ,MTC0 =0x0b , +/* begin of microMIPS32 DSP */ +/* bits 13..12 for 0x01 */ MFHI_ACC =0x0 , MFLO_ACC = 0x1,@@ -10387,6 +10402,8 @@ enum {MULT_ACC =0x0 ,MULTU_ACC =0x1 , +/* end of microMIPS32 DSP */ +/* bits 15..12 for 0x2c */ SEB =0x2 , SEH = 0x3, --1.7.3.4
Hi Johnson,
My bad. Will resend pacth later. ;)
Regards,
chenwj
Signature · 5 lines
Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj