tcg/i386: Fix %r12 guest_base initialization
commitcce743abbf398a324879039cd582349b36da0ea6
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Apr 2020 17:48:03 +0000 (6 10:48 -0700)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Apr 2020 15:19:49 +0000 (7 16:19 +0100)
tree34af0a0b182a9e086e75fde1a3f72a11308c5b0c
parenteca7a8e6c08f80129ae0bab7d060da568ed90f20
tcg/i386: Fix %r12 guest_base initialization

When %gs cannot be used, we use register offset addressing.
This path is almost never used, so it was clearly not tested.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200406174803.8192-1-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tcg/i386/tcg-target.inc.c