lib: move muldiv64()
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Apr 2021 12:41:48 +0000 (14:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 Apr 2021 12:41:48 +0000 (14:41 +0200)
commitb3de22dda782af06e625b513cc3cccb98c1635c6
tree47fcbb6678700728cd066a187df893fe473f04fa
parenta24d072ec8936937306073904c85da3849dd2f58
lib: move muldiv64()

Make this a separate archive member under lib/. While doing so, don't
move latently broken x86 assembly though: Fix the constraints, such
that properly extending inputs to 64-bit won't just be a side effect of
needing to copy registers, and such that we won't fail to clobber %rdx.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/common/lib.c
xen/lib/Makefile
xen/lib/muldiv64.c [new file with mode: 0644]