projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8a53a
)
Simplify mask construction.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 7 Dec 2006 00:30:19 +0000
(
00:30
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 7 Dec 2006 00:30:19 +0000
(
00:30
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2227
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-mips/translate.c
patch
|
blob
|
history
diff --git
a/target-mips/translate.c
b/target-mips/translate.c
index cf625488eb567921c9e5d021e737925c0e4a8124..16b73a1482c5f73f5eb24e360c18d9c7939f8080 100644
(file)
--- a/
target-mips/translate.c
+++ b/
target-mips/translate.c
@@
-353,8
+353,8
@@
enum {
OPC_BC1TL = (0x03 << 16) | OPC_BC1,
};
-#define MASK_CP1_BCOND(op) MASK_CP1(op) | (op & (
(0x1F << 21) | (0x3 << 16)
))
-#define MASK_CP1_FUNC(op) MASK_CP1(op) | (op &
((0x1F << 21) | 0x3F)
)
+#define MASK_CP1_BCOND(op) MASK_CP1(op) | (op & (
0x3 << 16
))
+#define MASK_CP1_FUNC(op) MASK_CP1(op) | (op &
0x3F
)
#define MASK_CP2(op) MASK_OP_MAJOR(op) | (op & (0x1F << 21))
#define MASK_CP3(op) MASK_OP_MAJOR(op) | (op & (0x1F << 21))