@@ -431,9 +431,6 @@ impl GotocCtx<'_> {
431431 Intrinsic :: RotateRight => codegen_intrinsic_binop ! ( ror) ,
432432 Intrinsic :: RoundF32 => codegen_simple_intrinsic ! ( Roundf ) ,
433433 Intrinsic :: RoundF64 => codegen_simple_intrinsic ! ( Round ) ,
434- Intrinsic :: RoundTiesEvenF32 | Intrinsic :: RoundTiesEvenF64 => {
435- self . codegen_round_to_integral ( cbmc:: RoundingMode :: ToNearest , fargs, place, loc)
436- }
437434 Intrinsic :: SaturatingAdd => codegen_intrinsic_binop_with_mm ! ( saturating_add) ,
438435 Intrinsic :: SaturatingSub => codegen_intrinsic_binop_with_mm ! ( saturating_sub) ,
439436 Intrinsic :: SinF32 => codegen_simple_intrinsic ! ( Sinf ) ,
@@ -641,23 +638,6 @@ impl GotocCtx<'_> {
641638 dividend_is_int_min. and ( divisor_is_minus_one) . not ( )
642639 }
643640
644- // Builds a floatbv_round_to_integral expression with specified cbmc::RoundingMode.
645- fn codegen_round_to_integral (
646- & mut self ,
647- rounding_mode : cbmc:: RoundingMode ,
648- mut fargs : Vec < Expr > ,
649- place : & Place ,
650- loc : Location ,
651- ) -> Stmt {
652- let place_ty = self . place_ty_stable ( place) ;
653- let result_type = self . codegen_ty_stable ( place_ty) ;
654- let f = fargs. remove ( 0 ) ;
655- assert ! ( fargs. is_empty( ) ) ;
656- let rm = Expr :: int_constant ( rounding_mode, Type :: c_int ( ) ) ;
657- let expr = Expr :: floatbv_round_to_integral ( f, rm, result_type) ;
658- self . codegen_expr_to_place_stable ( place, expr, loc)
659- }
660-
661641 /// Intrinsics of the form *_with_overflow
662642 fn codegen_op_with_overflow (
663643 & mut self ,
0 commit comments