diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-10 09:57:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-01-10 09:57:02 +0000 |
commit | b6f6702570d9e5127bc2dd45cae2385eafc5a4b1 (patch) | |
tree | 85f020c4683d721e379c8aa26959362a8b4c1fad /sim/v850/interp.c | |
parent | b86682d16009d84b08c33bb60d017ffaf7465636 (diff) | |
download | gdb-b6f6702570d9e5127bc2dd45cae2385eafc5a4b1.tar.gz |
* interp.c (sim_open): Add support for bfd_arch_v850_rh850
architecture type. Add support for bfd_mach_v850e2 and
bfd_mach_v850e2v3 machine numbers.
* v850.igen (dbtrap): Add support for SIM_OPEN_DEBUG.
(cmpf.d): Correct order of operands.
(cmpf.s): Likewise.
(trncf.dul): New pattern.
(trncf.duw): New pattern.
(trncf.sul): New pattern.
(trncf.suw): New pattern.
* v850-dc: Correct bitfield selection for TRNCF.SW and CVTF.SW.
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r-- | sim/v850/interp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c index 2c113072a26..b48c8a7c625 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -267,7 +267,8 @@ sim_open (kind, cb, abfd, argv) /* determine the machine type */ if (STATE_ARCHITECTURE (sd) != NULL - && STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850) + && (STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850 + || STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850_rh850)) mach = STATE_ARCHITECTURE (sd)->mach; else mach = bfd_mach_v850; /* default */ @@ -278,6 +279,8 @@ sim_open (kind, cb, abfd, argv) case bfd_mach_v850: case bfd_mach_v850e: case bfd_mach_v850e1: + case bfd_mach_v850e2: + case bfd_mach_v850e2v3: STATE_CPU (sd, 0)->psw_mask = (PSW_NP | PSW_EP | PSW_ID | PSW_SAT | PSW_CY | PSW_OV | PSW_S | PSW_Z); break; |