summaryrefslogtreecommitdiff
path: root/src/gallium/targets/xorg-radeon
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-09-24 15:02:24 +0200
committerJosé Fonseca <jfonseca@vmware.com>2010-09-25 12:19:31 +0100
commit46d05d4ef99857e50d978247917f3e16574418f4 (patch)
treefdb7bd877ce5cac758448196873375a51d6934ef /src/gallium/targets/xorg-radeon
parent26dc60d0a32f3e5b8084fda5991b762a721662e8 (diff)
gallivm: don't use URem/UDiv when calculating offsets for blocks
While it's true that llvm can and will indeed replace this with bit arithmetic (since block height/width is POT), it does so (llvm 2.7) by element and hence extracts/shifts/reinserts each element individually. This costs about 16 instructions (and extract is not really fast) vs. 1...
Diffstat (limited to 'src/gallium/targets/xorg-radeon')
0 files changed, 0 insertions, 0 deletions