(** Translation of arguments and results to builtins. *)

Remark builtin_arg_match:
  forall ge (rs: regset) sp m a v,
  eval_builtin_arg ge (fun r => rs (preg_of r)) sp m a v ->
  eval_builtin_arg ge rs sp m (map_builtin_arg preg_of a) v.

Lemma set_res_other: forall r res v rs, data_preg r = false -> set_res (map_builtin_res preg_of res) v rs r = rs r.