diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-06 18:13:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-06 18:13:06 +0100 |
commit | b3a2d6c84ec4e07b1e25a422a84d3d9fae3edaa2 (patch) | |
tree | 638e0f826fd7c470781dd930b8708beeff3cd140 /src/sna/kgem.h | |
parent | 4e172a38e1707465c189c56bdb7ee4bdaf54c9d4 (diff) |
sna: Manually expand sse2 memcpy to compensate for a bad compiler
Eek, this doubles the memcpy performance on skl with gcc-4.8. Still, not
ideal.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r-- | src/sna/kgem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h index 3630b5ce..c62e51c1 100644 --- a/src/sna/kgem.h +++ b/src/sna/kgem.h @@ -891,6 +891,6 @@ memcpy_from_tiled_x(struct kgem *kgem, width, height); } -void choose_memcpy_tiled_x(struct kgem *kgem, int swizzling); +void choose_memcpy_tiled_x(struct kgem *kgem, int swizzling, unsigned cpu); #endif /* KGEM_H */ |