Source

mutated_ocaml / testsuite / tests / asmcomp / tagged-fib.cmm

Full commit
camlspotter 2f3f8b6 

camlspotter 35cc436 
camlspotter 2f3f8b6 








camlspotter 4eace9a 
camlspotter 2f3f8b6 



(***********************************************************************)
(*                                                                     *)
(*                                OCaml                                *)
(*                                                                     *)
(*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         *)
(*                                                                     *)
(*  Copyright 1996 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  All rights reserved.  This file is distributed    *)
(*  under the terms of the Q Public License version 1.0.               *)
(*                                                                     *)
(***********************************************************************)

(* $Id: tagged-fib.cmm 12800 2012-07-30 18:59:07Z doligez $ *)

(function "fib" (n: int)
  (if (< n 5)
      3
    (-  (+ (app "fib" (- n 2) int) (app "fib" (- n 4) int)) 1)))