提交 329bfa77 编写于 作者: E Edgar E. Iglesias

microblaze: Correct FPU decoding masks.

Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
上级 3aa80988
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
+ ((x&0xF0000000LU)?128:0) + ((x&0xF0000000LU)?128:0)
#define B8(d) ((unsigned char)B8__(HEX__(d))) #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_ADD {B8(00000000), B8(00110001)}
#define DEC_SUB {B8(00000001), B8(00110001)} #define DEC_SUB {B8(00000001), B8(00110001)}
#define DEC_AND {B8(00100001), B8(00110101)} #define DEC_AND {B8(00100001), B8(00110101)}
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#define DEC_BARREL {B8(00010001), B8(00110111)} #define DEC_BARREL {B8(00010001), B8(00110111)}
#define DEC_MUL {B8(00010000), B8(00110111)} #define DEC_MUL {B8(00010000), B8(00110111)}
#define DEC_DIV {B8(00010010), 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_LD {B8(00110000), B8(00110100)}
#define DEC_ST {B8(00110100), B8(00110100)} #define DEC_ST {B8(00110100), B8(00110100)}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册