儲存庫 vbox 的更動 51834
- 時間撮記:
- 2014-7-3 上午07:52:22 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/iprt/asm.h
r51831 r51834 4827 4827 return _rotl(u32, cShift); 4828 4828 #elif RT_INLINE_ASM_GNU_STYLE && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)) 4829 __asm__ __volatile__("roll %b1, %0" : "= r" (u32) : "Ic" (cShift), "0" (u32));4829 __asm__ __volatile__("roll %b1, %0" : "=g" (u32) : "Ic" (cShift), "0" (u32)); 4830 4830 return u32; 4831 4831 #else … … 4848 4848 return _rotr(u32, cShift); 4849 4849 #elif RT_INLINE_ASM_GNU_STYLE && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)) 4850 __asm__ __volatile__("rorl %b1, %0" : "= r" (u32) : "Ic" (cShift), "0" (u32));4850 __asm__ __volatile__("rorl %b1, %0" : "=g" (u32) : "Ic" (cShift), "0" (u32)); 4851 4851 return u32; 4852 4852 #else … … 4869 4869 return _rotl64(u64, cShift); 4870 4870 #elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_AMD64) 4871 __asm__ __volatile__("rolq %b1, %0" : "= r" (u64) : "Jc" (cShift), "0" (u64));4871 __asm__ __volatile__("rolq %b1, %0" : "=g" (u64) : "Jc" (cShift), "0" (u64)); 4872 4872 return u64; 4873 4873 #elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_X86) … … 4906 4906 return _rotr64(u64, cShift); 4907 4907 #elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_AMD64) 4908 __asm__ __volatile__("rorq %b1, %0" : "= r" (u64) : "Jr" (cShift), "0" (u64));4908 __asm__ __volatile__("rorq %b1, %0" : "=g" (u64) : "Jc" (cShift), "0" (u64)); 4909 4909 return u64; 4910 4910 #elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_X86)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器