diff --git a/python/dune/perftool/loopy/target.py b/python/dune/perftool/loopy/target.py
index 9acfb073edbc8df5708b92a6bc211cc20f09ee6b..948e935c4afb4697dfab8e9f8fe1648a77a80d53 100644
--- a/python/dune/perftool/loopy/target.py
+++ b/python/dune/perftool/loopy/target.py
@@ -38,6 +38,14 @@ class DuneExpressionToCExpressionMapper(ExpressionToCExpressionMapper):
         else:
             return ExpressionToCExpressionMapper.map_subscript(self, expr, type_context)
 
+    def map_floor_div(self, expr, enclosing_prec):
+        # Loopy generates floor divs via a macro int_floor_div_pos_b
+        # I have no idea why it does this and would like to generate
+        # operator/ instead. At some point, I should ask Andreas about
+        # the intention of that macro. Returning expr will pass this into
+        # the CExpressionToCodeMapper as is => operator/.
+        return expr
+
 
 class DuneCExpressionToCodeMapper(CExpressionToCodeMapper):
     def map_remainder(self, expr, enclosing_prec):