diff options
author | Nick Clifton <nickc@redhat.com> | 2015-02-27 09:49:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-02-27 09:53:03 +0000 |
commit | a3976a7c56ec803f6ba141576cc56afe02663a8a (patch) | |
tree | ed44b1849b8358a65b98795721a8105f21e1f526 /sim/v850/v850-dc | |
parent | 60abeae4f219a7a445d11ebaf72d2939413ffe80 (diff) | |
download | fsf-binutils-gdb-a3976a7c56ec803f6ba141576cc56afe02663a8a.zip fsf-binutils-gdb-a3976a7c56ec803f6ba141576cc56afe02663a8a.tar.gz fsf-binutils-gdb-a3976a7c56ec803f6ba141576cc56afe02663a8a.tar.bz2 |
Fixes problems building the V850 simulator introduced with the previous delta.
* sim-main.h (reg64_t): New type.
(v850_regs): Add selID_sregs field.
(VR, SAT16, SAT32, ABS16, ABS32 ): New macros.
* v850-dc: Add fields for v850e3v5 instructions.
* v850.igen (cvtf.dl): Use correctly signed local value.
(cvtf.dw, cvtf.sw, trncf.dul, trncf.dl, trncf.sul, trncf.sw):
Likewise.
* interp.c: Fix old style function declarations.
* simops.c: Likewise.
Diffstat (limited to 'sim/v850/v850-dc')
-rw-r--r-- | sim/v850/v850-dc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/v850/v850-dc b/sim/v850/v850-dc index 1a90363..9189833 100644 --- a/sim/v850/v850-dc +++ b/sim/v850/v850-dc @@ -64,3 +64,9 @@ switch,combine : 4 : 0 : : : : 0 :VI : v850e2v3 switch,combine : 4 : 0 : : : : 0 :VI : v850e3v5 switch,combine : 10 : 0 : : : : 1 :F_I,XI : v850e3v5 + +# for sasf, vadd.h + switch,combine : 10 : 0 : : : : 1 :C,IX : v850e3v5 + switch,combine : 10 : 0 : : : : 1 :C,XII : v850e3v5 + switch,combine : 15 : 0 : : : : 0 :C : v850e3v5 + switch,combine : 10 : 0 : : : : 1 :C,XI : v850e3v5 |