Misaligned atomic operation may incur significant performance penalty
I'm seeing the following warnings when compiling with clang. The "significant performance penalty" doesn't sound good
../mesa-9999/src/amd/vulkan/radv_query.c:1209:21: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1242:24: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1243:22: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1342:19: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1380:16: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1381:16: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/radv_query.c:1415:21: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:357:10: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:359:10: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:364:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:537:10: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:539:10: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:544:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:660:4: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:750:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:752:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:219:23: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/gallium/drivers/zink/zink_batch.c:487:38: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/gallium/frontends/nine/resource9.c:124:9: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/gallium/frontends/nine/resource9.c:82:13: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/gallium/frontends/nine/resource9.c:85:17: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/gallium/frontends/nine/resource9.c:88:17: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/util/disk_cache_os.c:447:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/util/disk_cache_os.c:474:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/util/disk_cache_os.c:490:7: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
../mesa-9999/src/util/disk_cache_os.c:810:4: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]