(** And integer immediate. *)

Lemma andimm_correct:
forall r1 r2 n k (rs : regset) m,
r2 <> GPR0 ->
exists rs',
exec_straight ge fn (andimm r1 r2 n k) rs m  k rs' m
/\ rs'#r1 = Val.and rs#r2 (Vint n)
/\ forall r', important_preg r' = true -> r' <> r1 -> rs'#r' = rs#r'.