mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
fixed register constraint
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3928 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a11d070e38
commit
f220f4e3d8
1 changed files with 4 additions and 2 deletions
|
@ -207,9 +207,11 @@ static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(target_ulong ptr, RES_TYPE
|
||||||
"2:\n"
|
"2:\n"
|
||||||
:
|
:
|
||||||
: "r" (ptr),
|
: "r" (ptr),
|
||||||
/* NOTE: 'q' would be needed as constraint, but we could not use it
|
#if DATA_SIZE == 1
|
||||||
with T1 ! */
|
"q" (v),
|
||||||
|
#else
|
||||||
"r" (v),
|
"r" (v),
|
||||||
|
#endif
|
||||||
"i" ((CPU_TLB_SIZE - 1) << CPU_TLB_ENTRY_BITS),
|
"i" ((CPU_TLB_SIZE - 1) << CPU_TLB_ENTRY_BITS),
|
||||||
"i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS),
|
"i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS),
|
||||||
"i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)),
|
"i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue