diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-09-04 09:40:49 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-09-04 09:40:49 +0200 |
commit | 329bfa773958b06437df47866be8a6520ef1f53e (patch) | |
tree | 6c359062076aad3d82a610429762c461ede2c1f4 /target-microblaze/microblaze-decode.h | |
parent | 3aa80988430f41847e1b78d165440ac03503b6d0 (diff) | |
download | qemu-329bfa773958b06437df47866be8a6520ef1f53e.zip qemu-329bfa773958b06437df47866be8a6520ef1f53e.tar.gz qemu-329bfa773958b06437df47866be8a6520ef1f53e.tar.bz2 |
microblaze: Correct FPU decoding masks.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/microblaze-decode.h')
-rw-r--r-- | target-microblaze/microblaze-decode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-microblaze/microblaze-decode.h b/target-microblaze/microblaze-decode.h index 602027d..4a27476 100644 --- a/target-microblaze/microblaze-decode.h +++ b/target-microblaze/microblaze-decode.h @@ -29,7 +29,7 @@ + ((x&0xF0000000LU)?128:0) #define B8(d) ((unsigned char)B8__(HEX__(d))) -/* Decode logic, mask and value. */ +/* Decode logic, value and mask. */ #define DEC_ADD {B8(00000000), B8(00110001)} #define DEC_SUB {B8(00000001), B8(00110001)} #define DEC_AND {B8(00100001), B8(00110101)} @@ -41,7 +41,7 @@ #define DEC_BARREL {B8(00010001), B8(00110111)} #define DEC_MUL {B8(00010000), B8(00110111)} #define DEC_DIV {B8(00010010), B8(00110111)} -#define DEC_FPU {B8(00111111), B8(00010110)} +#define DEC_FPU {B8(00010110), B8(00111111)} #define DEC_LD {B8(00110000), B8(00110100)} #define DEC_ST {B8(00110100), B8(00110100)} |