public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testbase)] According to instruction_tables.pdf
@ 2020-08-25 10:10 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2020-08-25 10:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:16516644d8f5c13e666251470d604778d347f796
commit 16516644d8f5c13e666251470d604778d347f796
Author: liuhongt <hongtao.liu@intel.com>
Date: Thu Oct 24 11:13:00 2019 +0800
According to instruction_tables.pdf
1. Set cost of movement inside mask registers a bit higher than gpr's.
2. Set cost of movement between mask register and gpr much higher than movement
inside gpr, but still less equal than load/store.
3. Set cost of mask register load/store a bit higher than gpr load/store.
gcc/
* config/i386/x86-tune-costs.h (skylake_cost): Adjust cost
model.
Diff:
---
gcc/config/i386/x86-tune-costs.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h
index 256c84e364e..a782a9dd9e3 100644
--- a/gcc/config/i386/x86-tune-costs.h
+++ b/gcc/config/i386/x86-tune-costs.h
@@ -1727,12 +1727,12 @@ struct processor_costs skylake_cost = {
{8, 8, 8, 12, 24}, /* cost of storing SSE registers
in 32,64,128,256 and 512-bit */
6, 6, /* SSE->integer and integer->SSE moves */
- 2, 2, /* mask->integer and integer->mask moves */
- {4, 4, 4}, /* cost of loading mask register
+ 4, 6, /* mask->integer and integer->mask moves */
+ {6, 6, 6}, /* cost of loading mask register
in QImode, HImode, SImode. */
- {6, 6, 6}, /* cost if storing mask register
+ {8, 8, 8}, /* cost if storing mask register
in QImode, HImode, SImode. */
- 2, /* cost of moving mask register. */
+ 3, /* cost of moving mask register. */
/* End of register allocator costs. */
},
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-25 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 10:10 [gcc(refs/users/aoliva/heads/testbase)] According to instruction_tables.pdf Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).