diff options
author | Tom Stellard <[email protected]> | 2012-05-11 09:31:00 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-11 09:43:47 -0400 |
commit | 4d11a6a0c798301863d5b202703dcca37dc24e7c (patch) | |
tree | 3bd90a1542e850b32037f30d379015bc0b1bf610 | |
parent | 96956dc5076fc03b9290368ca90e3f3b870ee613 (diff) |
radeon/llvm: Fix Evergreen/Cayman tablegen predicates
Some Evergreen/Cayman instructions were being enabled for SI.
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index a18240f09bd..9b59171de43 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -227,7 +227,9 @@ def isEG : Predicate<"Subtarget.device()" def isCayman : Predicate<"Subtarget.device()" "->getDeviceFlag() == OCL_DEVICE_CAYMAN">; def isEGorCayman : Predicate<"Subtarget.device()" - "->getGeneration() >= AMDILDeviceInfo::HD5XXX">; + "->getGeneration() == AMDILDeviceInfo::HD5XXX" + "|| Subtarget.device()->getGeneration() ==" + "AMDILDeviceInfo::HD6XXX">; def isR600toCayman : Predicate< "Subtarget.device()->getGeneration() <= AMDILDeviceInfo::HD6XXX">; |