Commit f220f4e3d84c73a01f9ea3f47b372172dbc6d513

Authored by bellard
1 parent a11d070e

fixed register constraint


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3928 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 2 deletions
softmmu_header.h
... ... @@ -207,9 +207,11 @@ static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(target_ulong ptr, RES_TYPE
207 207 "2:\n"
208 208 :
209 209 : "r" (ptr),
210   -/* NOTE: 'q' would be needed as constraint, but we could not use it
211   - with T1 ! */
  210 +#if DATA_SIZE == 1
  211 + "q" (v),
  212 +#else
212 213 "r" (v),
  214 +#endif
213 215 "i" ((CPU_TLB_SIZE - 1) << CPU_TLB_ENTRY_BITS),
214 216 "i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS),
215 217 "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)),
... ...