aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/microblaze-decode.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-09-03 11:12:30 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-09-03 11:12:30 +0200
commit1567a0056889b7a2660114d4d50400614fbf0d9e (patch)
treef92ec76192f77b12ba04ad9dfd711e6c828497f7 /target-microblaze/microblaze-decode.h
parentcedb936bfcc9b7fe9f7df58aa24ca191cba414fe (diff)
microblaze: Catch illegal insns and privilege violations.
Raise illegal instruction exceptions when executing instructions that require units not available on the particulare microblaze configuration. Also trap priviliege violations made by userspace. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/microblaze-decode.h b/target-microblaze/microblaze-decode.h
index 2c975d6677..602027dbfb 100644
--- a/target-microblaze/microblaze-decode.h
+++ b/target-microblaze/microblaze-decode.h
@@ -41,6 +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_LD {B8(00110000), B8(00110100)}
#define DEC_ST {B8(00110100), B8(00110100)}