summaryrefslogtreecommitdiff
path: root/meta-xilinx/meta-microblaze/recipes-devtools/gdb/gdb/0028-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch
blob: 01d615da7fec8048489348311806ee0462c5f028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 953a4eb8152c0aca3e36ccc22a8950c9e68965b5 Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Mon, 26 Aug 2019 15:29:42 +0530
Subject: [PATCH 28/40] [Patch,MicroBlaze] : double imml generation for 64 bit
 values.

---
 opcodes/microblaze-opc.h   |   4 +-
 2 files changed, 264 insertions(+), 64 deletions(-)

diff --git a/opcodes/microblaze-opc.h b/opcodes/microblaze-opc.h
index eaf4a1bd9f9..79c3cf0d1a1 100644
--- a/opcodes/microblaze-opc.h
+++ b/opcodes/microblaze-opc.h
@@ -626,8 +626,8 @@ char pvr_register_prefix[] = "rpvr";
 #define MIN_IMM6_WIDTH  ((int) 0x00000001)
 #define MAX_IMM6_WIDTH  ((int) 0x00000040)
 
-#define MIN_IMML  ((long long) 0xffffff8000000000L)
-#define MAX_IMML  ((long long) 0x0000007fffffffffL)
+#define MIN_IMML  ((long long) -9223372036854775807)
+#define MAX_IMML  ((long long) 9223372036854775807)
 
 #endif /* MICROBLAZE_OPC */
 
-- 
2.17.1