This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch X86_64] : Fix type attribute for sseimul reservations in znver1.md
- From: "Kumar, Venkataramanan" <Venkataramanan dot Kumar at amd dot com>
- To: "Uros Bizjak (ubizjak at gmail dot com)" <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 3 Mar 2016 18:05:02 +0000
- Subject: [Patch X86_64] : Fix type attribute for sseimul reservations in znver1.md
- Authentication-results: sourceware.org; auth=none
- Authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=amd.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Hi Maintainers,
The below patch corrects the type attribute for "sseimul" type reservations in znver1.md.
(snip)
diff --git a/gcc/config/i386/znver1.md b/gcc/config/i386/znver1.md
index 3db3bed..feeccd7 100644
--- a/gcc/config/i386/znver1.md
+++ b/gcc/config/i386/znver1.md
@@ -913,28 +913,28 @@
(define_insn_reservation "znver1_sseimul" 3
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "TI")
- (and (eq_attr "type" "ssemul")
+ (and (eq_attr "type" "sseimul")
(eq_attr "memory" "none"))))
"znver1-direct,znver1-fp0*3")
(define_insn_reservation "znver1_sseimul_avx256" 4
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "OI")
- (and (eq_attr "type" "ssemul")
+ (and (eq_attr "type" "sseimul")
(eq_attr "memory" "none"))))
"znver1-double,znver1-fp0*4")
(define_insn_reservation "znver1_sseimul_load" 7
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "TI")
- (and (eq_attr "type" "ssemul")
+ (and (eq_attr "type" "sseimul")
(eq_attr "memory" "load"))))
"znver1-direct,znver1-load,znver1-fp0*3")
(define_insn_reservation "znver1_sseimul_avx256_load" 8
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "OI")
- (and (eq_attr "type" "ssemul")
+ (and (eq_attr "type" "sseimul")
(eq_attr "memory" "load"))))
"znver1-double,znver1-load,znver1-fp0*4")
@@ -942,13 +942,13 @@
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "DI")
(and (eq_attr "memory" "none")
- (eq_attr "type" "ssemul"))))
+ (eq_attr "type" "sseimul"))))
"znver1-direct,znver1-fp0*4")
(Snip)
Changelog
2016-03-03 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
Fix sseimul type attribute.
* config/i386/znver1.md
(znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load,
znver1_sseimul_avx256_load, znver1_sseimul_di,
znver1_sseimul_load_di) : Fix the type attribute.
Ok for trunk if bootstrap and testing passes?
Regards,
Venkat.