~ubuntu-bugs-auftrags-killer/qemu/proper-error-characters

« back to all changes in this revision

Viewing changes to target-microblaze/microblaze-decode.h

  • Committer: Edgar E. Iglesias
  • Date: 2009-09-04 07:40:49 UTC
  • Revision ID: git-v1:329bfa773958b06437df47866be8a6520ef1f53e
microblaze: Correct FPU decoding masks.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
                 + ((x&0xF0000000LU)?128:0)
30
30
#define B8(d) ((unsigned char)B8__(HEX__(d)))
31
31
 
32
 
/* Decode logic, mask and value.  */
 
32
/* Decode logic, value and mask.  */
33
33
#define DEC_ADD     {B8(00000000), B8(00110001)}
34
34
#define DEC_SUB     {B8(00000001), B8(00110001)}
35
35
#define DEC_AND     {B8(00100001), B8(00110101)}
41
41
#define DEC_BARREL  {B8(00010001), B8(00110111)}
42
42
#define DEC_MUL     {B8(00010000), B8(00110111)}
43
43
#define DEC_DIV     {B8(00010010), B8(00110111)}
44
 
#define DEC_FPU     {B8(00111111), B8(00010110)}
 
44
#define DEC_FPU     {B8(00010110), B8(00111111)}
45
45
 
46
46
#define DEC_LD      {B8(00110000), B8(00110100)}
47
47
#define DEC_ST      {B8(00110100), B8(00110100)}