Changeset 12223 in vbox for trunk/include/iprt/asm.h
- Timestamp:
- Sep 8, 2008 12:30:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r12221 r12223 1897 1897 # elif RT_INLINE_ASM_GNU_STYLE 1898 1898 # ifdef RT_ARCH_AMD64 1899 __asm__ __volatile__("movq %0, %%dr0\n\t" : "=r" (uDRVal));1900 # else 1901 __asm__ __volatile__("movl %0, %%dr0\n\t" : "=r" (uDRVal));1899 __asm__ __volatile__("movq %0, %%dr0\n\t" : : "r" (uDRVal)); 1900 # else 1901 __asm__ __volatile__("movl %0, %%dr0\n\t" : : "r" (uDRVal)); 1902 1902 # endif 1903 1903 # else … … 1931 1931 # elif RT_INLINE_ASM_GNU_STYLE 1932 1932 # ifdef RT_ARCH_AMD64 1933 __asm__ __volatile__("movq %0, %%dr1\n\t" : "=r" (uDRVal));1934 # else 1935 __asm__ __volatile__("movl %0, %%dr1\n\t" : "=r" (uDRVal));1933 __asm__ __volatile__("movq %0, %%dr1\n\t" : : "r" (uDRVal)); 1934 # else 1935 __asm__ __volatile__("movl %0, %%dr1\n\t" : : "r" (uDRVal)); 1936 1936 # endif 1937 1937 # else … … 1965 1965 # elif RT_INLINE_ASM_GNU_STYLE 1966 1966 # ifdef RT_ARCH_AMD64 1967 __asm__ __volatile__("movq %0, %%dr2\n\t" : "=r" (uDRVal));1968 # else 1969 __asm__ __volatile__("movl %0, %%dr2\n\t" : "=r" (uDRVal));1967 __asm__ __volatile__("movq %0, %%dr2\n\t" : : "r" (uDRVal)); 1968 # else 1969 __asm__ __volatile__("movl %0, %%dr2\n\t" : : "r" (uDRVal)); 1970 1970 # endif 1971 1971 # else … … 1999 1999 # elif RT_INLINE_ASM_GNU_STYLE 2000 2000 # ifdef RT_ARCH_AMD64 2001 __asm__ __volatile__("movq %0, %%dr3\n\t" : "=r" (uDRVal));2002 # else 2003 __asm__ __volatile__("movl %0, %%dr3\n\t" : "=r" (uDRVal));2001 __asm__ __volatile__("movq %0, %%dr3\n\t" : : "r" (uDRVal)); 2002 # else 2003 __asm__ __volatile__("movl %0, %%dr3\n\t" : : "r" (uDRVal)); 2004 2004 # endif 2005 2005 # else … … 2033 2033 # elif RT_INLINE_ASM_GNU_STYLE 2034 2034 # ifdef RT_ARCH_AMD64 2035 __asm__ __volatile__("movq %0, %%dr6\n\t" : "=r" (uDRVal));2036 # else 2037 __asm__ __volatile__("movl %0, %%dr6\n\t" : "=r" (uDRVal));2035 __asm__ __volatile__("movq %0, %%dr6\n\t" : : "r" (uDRVal)); 2036 # else 2037 __asm__ __volatile__("movl %0, %%dr6\n\t" : : "r" (uDRVal)); 2038 2038 # endif 2039 2039 # else … … 2067 2067 # elif RT_INLINE_ASM_GNU_STYLE 2068 2068 # ifdef RT_ARCH_AMD64 2069 __asm__ __volatile__("movq %0, %%dr7\n\t" : "=r" (uDRVal));2070 # else 2071 __asm__ __volatile__("movl %0, %%dr7\n\t" : "=r" (uDRVal));2069 __asm__ __volatile__("movq %0, %%dr7\n\t" : : "r" (uDRVal)); 2070 # else 2071 __asm__ __volatile__("movl %0, %%dr7\n\t" : : "r" (uDRVal)); 2072 2072 # endif 2073 2073 # else
Note:
See TracChangeset
for help on using the changeset viewer.