<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/14/2015 09:32 AM, Tom Stellard
wrote:<br>
</div>
<blockquote
cite="mid:1429029158-4659-2-git-send-email-thomas.stellard@amd.com"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre wrap="">Instead add m0 as an implicit operand. This allows us to avoid using
the M0Reg register class and eliminates a number of unnecessary spills
when using s_sendmsg instructions. This impacts one shader in the
shader-db:
SGPRS: 48 -> 40 (-16.67 %)
VGPRS: 112 -> 108 (-3.57 %)
Code Size: 40132 -> 38796 (-3.33 %) bytes
LDS: 0 -> 0 (0.00 %) blocks
Scratch: 2048 -> 0 (-100.00 %) bytes per wave
---
lib/Target/R600/AMDGPUISelLowering.cpp | 1 +
lib/Target/R600/AMDGPUISelLowering.h | 1 +
lib/Target/R600/AMDGPUInstrInfo.td | 4 ++++
lib/Target/R600/SIISelLowering.cpp | 12 +++++++++++-
lib/Target/R600/SIInstructions.td | 12 +++++-------
5 files changed, 22 insertions(+), 8 deletions(-)
</pre>
</div>
</blockquote>
<br>
LGTM<br>
</body>
</html>