Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 1 | From 89aa1907ab0abad38e394f46f7e5f577bdb26498 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Mon, 4 Jun 2018 10:10:18 +0530 |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 4 | Subject: [PATCH 38/63] [Patch,Microblaze] : Removed fsqrt generation for |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 5 | double values. |
| 6 | |
| 7 | --- |
| 8 | gcc/config/microblaze/microblaze.md | 14 -------------- |
| 9 | 1 file changed, 14 deletions(-) |
| 10 | |
| 11 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 12 | index 6101387..eb01221 100644 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 13 | --- a/gcc/config/microblaze/microblaze.md |
| 14 | +++ b/gcc/config/microblaze/microblaze.md |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 15 | @@ -526,20 +526,6 @@ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 16 | (set_attr "mode" "SF") |
| 17 | (set_attr "length" "4")]) |
| 18 | |
| 19 | -(define_insn "sqrtdf2" |
| 20 | - [(set (match_operand:DF 0 "register_operand" "=d") |
| 21 | - (sqrt:DF (match_operand:DF 1 "register_operand" "dG")))] |
| 22 | - "TARGET_HARD_FLOAT && TARGET_FLOAT_SQRT" |
| 23 | - { |
| 24 | - if (REGNO (operands[0]) == REGNO (operands[1])) |
| 25 | - return "fsqrt\t%0,%1"; |
| 26 | - else |
| 27 | - return "fsqrt\t%0,%1\n\taddk\t%D0,%D1,r0"; |
| 28 | - } |
| 29 | - [(set_attr "type" "fsqrt") |
| 30 | - (set_attr "mode" "SF") |
| 31 | - (set_attr "length" "4")]) |
| 32 | - |
| 33 | (define_insn "fix_truncsfsi2" |
| 34 | [(set (match_operand:SI 0 "register_operand" "=d") |
| 35 | (fix:SI (match_operand:SF 1 "register_operand" "d")))] |
| 36 | -- |
| 37 | 2.7.4 |
| 38 | |