summaryrefslogtreecommitdiffhomepage
path: root/src/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 952f5765..001b9dc6 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -33,9 +33,6 @@ constexpr inline Pair<int, int8_t> normalize_coord(const int8_t cur, const int n
bool b = x >= half_tile | x < -half_tile;
int tmask = -(volatile int)b;
int8_t xmask = -(volatile int8_t)b;
-#if defined __GNUG__
- asm volatile ("" : "+r"(tmask), "+r"(xmask));
-#endif
t += s & tmask;
x = (int8_t)((tile_size - a)*-s) & xmask | (int8_t)(x & ~xmask);
return { t, (int8_t)x };