asahi: make UB easier to see

would've saved us

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
Alyssa Rosenzweig 2023-11-25 10:34:46 -04:00
parent a12d2689d8
commit 0805fef082

View file

@ -472,6 +472,6 @@ agx_get_gpu_timestamp(struct agx_device *dev)
__asm__ volatile("rdtsc" : "=a"(low), "=d"(high));
return (uint64_t)low | ((uint64_t)high << 32);
#else
unreachable("Kernel support for fetching timestamps pending");
#error "invalid architecture for asahi"
#endif
}