diff options
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0054-Patch-Microblaze-corrected-SPN-for-dlong-instruction.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0054-Patch-Microblaze-corrected-SPN-for-dlong-instruction.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0054-Patch-Microblaze-corrected-SPN-for-dlong-instruction.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0054-Patch-Microblaze-corrected-SPN-for-dlong-instruction.patch new file mode 100644 index 00000000..0e704506 --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0054-Patch-Microblaze-corrected-SPN-for-dlong-instruction.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 0dbb2b7bfe466c18d54aec680208fd1459619bc1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Wed, 24 Oct 2018 18:31:04 +0530 | ||
4 | Subject: [PATCH 54/63] [Patch,Microblaze] : corrected SPN for dlong | ||
5 | instruction mapping. | ||
6 | |||
7 | --- | ||
8 | gcc/config/microblaze/microblaze.md | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md | ||
12 | index d6370d8..6b6b7c6 100644 | ||
13 | --- a/gcc/config/microblaze/microblaze.md | ||
14 | +++ b/gcc/config/microblaze/microblaze.md | ||
15 | @@ -602,9 +602,9 @@ | ||
16 | (set_attr "mode" "DF") | ||
17 | (set_attr "length" "4")]) | ||
18 | |||
19 | -(define_insn "floatdfdi2" | ||
20 | +(define_insn "fix_truncdfdi2" | ||
21 | [(set (match_operand:DI 0 "register_operand" "=d") | ||
22 | - (float:DI (match_operand:DF 1 "register_operand" "d")))] | ||
23 | + (fix:DI (fix:DF (match_operand:DF 1 "register_operand" "d"))))] | ||
24 | "TARGET_MB_64" | ||
25 | "dlong\t%0,%1" | ||
26 | [(set_attr "type" "fcvt") | ||
27 | -- | ||
28 | 2.7.4 | ||
29 | |||