aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-09-22 17:32:28 +0100
committerNick Clifton <nickc@redhat.com>2015-09-22 17:32:28 +0100
commite3ec6cc681835fcd1457aedbf5cea914915e89a8 (patch)
treef1cf3cb9494c5c41516b5bdb480d2b66cb9da90b /gas/config
parentf04265eceb78a33e452faa8727562e96af374f39 (diff)
downloadgdb-e3ec6cc681835fcd1457aedbf5cea914915e89a8.zip
gdb-e3ec6cc681835fcd1457aedbf5cea914915e89a8.tar.gz
gdb-e3ec6cc681835fcd1457aedbf5cea914915e89a8.tar.bz2
Change 7-byte NOP instruction for RX target, so that it only takes 1 cycle to excute.
* config/tc-rx.c (nop_7): Recode using MAX.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index e70295d..4345d58 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -1263,8 +1263,8 @@ static unsigned char nop_4[] = { 0x76, 0x10, 0x01, 0x00 };
static unsigned char nop_5[] = { 0x77, 0x10, 0x01, 0x00, 0x00 };
/* MUL #1,R0 - 1 cycle */
static unsigned char nop_6[] = { 0x74, 0x10, 0x01, 0x00, 0x00, 0x00 };
- /* BRA.S .+7 - 1 cycle */
-static unsigned char nop_7[] = { 0x0F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
+ /* MAX 0x80000000,R0 - 1 cycle */
+static unsigned char nop_7[] = { 0xFD, 0x70, 0x40, 0x00, 0x00, 0x00, 0x80 };
static unsigned char *nops[] = { NULL, nop_1, nop_2, nop_3, nop_4, nop_5, nop_6, nop_7 };
#define BIGGEST_NOP 7