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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user