summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-01-28 09:53:50 +0800
committerDamien Lespiau <damien.lespiau@intel.com>2014-02-13 07:53:04 +0000
commit60a24a22ba4c7df46ebae0e99f0aa09604a6fb25 (patch)
treefed224f17ec21f2f41f9eb732c43b0e4430f6a52 /assembler
parenta2bf80fd8462b0014f2e230421173677bbb8b742 (diff)
Assembler/bdw: Remove the unsupported cache agent for WRITE(...)
The Sampler/Constant cache is read-only. And it can't be used as the target cache agent of WRITE message. Reviewed-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler')
-rw-r--r--assembler/gram.y4
1 files changed, 0 insertions, 4 deletions
diff --git a/assembler/gram.y b/assembler/gram.y
index f4145bd9..f4d270d3 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -1652,9 +1652,7 @@ msgtarget: NULL_TOKEN
{
if (IS_GENp(8)) {
if ($9 != 0 &&
- $9 != GEN6_SFID_DATAPORT_SAMPLER_CACHE &&
$9 != GEN6_SFID_DATAPORT_RENDER_CACHE &&
- $9 != GEN6_SFID_DATAPORT_CONSTANT_CACHE &&
$9 != GEN7_SFID_DATAPORT_DATA_CACHE &&
$9 != HSW_SFID_DATAPORT_DATA_CACHE1) {
error (&@9, "error: wrong cache type\n");
@@ -1715,9 +1713,7 @@ msgtarget: NULL_TOKEN
{
if (IS_GENp(8)) {
if ($9 != 0 &&
- $9 != GEN6_SFID_DATAPORT_SAMPLER_CACHE &&
$9 != GEN6_SFID_DATAPORT_RENDER_CACHE &&
- $9 != GEN6_SFID_DATAPORT_CONSTANT_CACHE &&
$9 != GEN7_SFID_DATAPORT_DATA_CACHE &&
$9 != HSW_SFID_DATAPORT_DATA_CACHE1) {
error (&@9, "error: wrong cache type\n");