summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/mn10300/am33.igen7
-rw-r--r--sim/mn10300/mn10300.igen18
2 files changed, 17 insertions, 8 deletions
diff --git a/sim/mn10300/am33.igen b/sim/mn10300/am33.igen
index af3da9c467b..b5d0a850d25 100644
--- a/sim/mn10300/am33.igen
+++ b/sim/mn10300/am33.igen
@@ -241,7 +241,8 @@
usp += 4;
}
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x1)
{
@@ -286,7 +287,8 @@
unsigned32 usp = State.regs[REG_USP];
unsigned32 mask;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)
{
@@ -8698,3 +8700,4 @@
State.regs[REG_PC] = State.regs[REG_LAR] - 4;
nia = PC;
}
+
diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen
index 60df8a65083..1114142a076 100644
--- a/sim/mn10300/mn10300.igen
+++ b/sim/mn10300/mn10300.igen
@@ -3794,7 +3794,8 @@
sp += 4;
}
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x1)
{
@@ -3847,7 +3848,8 @@
PC = cia;
mask = REGS;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)
{
@@ -3947,7 +3949,8 @@
mask = REGS;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)
{
@@ -4054,7 +4057,8 @@
mask = REGS;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)
{
@@ -4159,7 +4163,8 @@
offset = -4;
mask = REGS;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)
@@ -4262,7 +4267,8 @@
offset = -4;
mask = REGS;
- if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33)
+ if (STATE_ARCHITECTURE (sd)->mach == bfd_mach_am33
+ )
{
if (mask & 0x4)