(wm-low-64 addr val x86) → x86
Function:
(defun wm-low-64 (addr val x86) (declare (xargs :stobjs (x86))) (declare (type (unsigned-byte 52) addr) (type (unsigned-byte 64) val)) (declare (xargs :guard (and (not (app-view x86)) (< (+ 7 addr) *mem-size-in-bytes*)))) (let ((__function__ 'wm-low-64)) (declare (ignorable __function__)) (if (mbt (not (app-view x86))) (b* ((addr (mbe :logic (ifix addr) :exec addr)) (dword0 (mbe :logic (part-select val :low 0 :width 32) :exec (logand 4294967295 val))) (dword1 (mbe :logic (part-select val :low 32 :width 32) :exec (logand 4294967295 (ash val -32)))) (x86 (wm-low-32 addr dword0 x86)) (x86 (wm-low-32 (+ 4 addr) dword1 x86))) x86) x86)))
Theorem:
(defthm x86p-wm-low-64 (implies (x86p x86) (x86p (wm-low-64 addr val x86))) :rule-classes (:rewrite :type-prescription))
Theorem:
(defthm xr-wm-low-64 (implies (not (equal fld :mem)) (equal (xr fld index (wm-low-64 addr val x86)) (xr fld index x86))))
Theorem:
(defthm wm-low-64-xw (implies (and (not (equal fld :mem)) (not (equal fld :app-view))) (equal (wm-low-64 addr val (xw fld index value x86)) (xw fld index value (wm-low-64 addr val x86)))))