Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 5494699756f8e1dba6848fcf09780a031139c232 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Mon, 4 Jun 2018 10:10:18 +0530 |
| 4 | Subject: [PATCH 38/54] [Patch,Microblaze] : Removed fsqrt generation for |
| 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 |
| 12 | index 9bb87ec..a93ddd0 100644 |
| 13 | --- a/gcc/config/microblaze/microblaze.md |
| 14 | +++ b/gcc/config/microblaze/microblaze.md |
| 15 | @@ -524,20 +524,6 @@ |
| 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 | |