儲存庫 vbox 的更動 12232
- 時間撮記:
- 2008-9-8 下午03:23:46 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/iprt/asm.h
r12223 r12232 2538 2538 : "0" (*pu64), 2539 2539 "b" ( (uint32_t)u64 ), 2540 "c" ( (uint32_t)(u64 >> 32) ), 2541 "m" (*pu64)); 2540 "c" ( (uint32_t)(u64 >> 32) )); 2542 2541 # endif 2543 2542 # else … … 2839 2838 : "=a" (u32Ret), 2840 2839 "=d" (u32Spill), 2841 " =m" (*pu64)2840 "+m" (*pu64) 2842 2841 : "A" (u64Old), 2843 2842 "m" ( u32EBX ), 2844 2843 "c" ( (uint32_t)(u64New >> 32) ), 2845 "S" (pu64) 2846 # ifdef RT_OS_DARWIN 2847 : "memory" 2848 # else 2849 , "m" (*pu64) 2850 # endif 2851 ); 2844 "S" (pu64)); 2852 2845 # else /* !PIC */ 2853 2846 uint32_t u32Spill; … … 2857 2850 : "=a" (u32Ret), 2858 2851 "=d" (u32Spill), 2859 " =m" (*pu64)2852 "+m" (*pu64) 2860 2853 : "A" (u64Old), 2861 2854 "b" ( (uint32_t)u64New ), 2862 "c" ( (uint32_t)(u64New >> 32) ), 2863 "m" (*pu64)); 2855 "c" ( (uint32_t)(u64New >> 32) )); 2864 2856 # endif 2865 2857 return (bool)u32Ret; … … 3728 3720 "movl %3, %%ebx\n\t" 3729 3721 : "=A" (u64), 3730 " =m" (*pu64)3722 "+m" (*pu64) 3731 3723 : "0" (0), 3732 3724 "m" (u32EBX), 3733 3725 "c" (0), 3734 "S" (pu64) 3735 # ifdef RT_OS_DARWIN 3736 : "memory" 3737 # else 3738 , "m" (*pu64) 3739 # endif 3740 ); 3726 "S" (pu64)); 3741 3727 # else /* !PIC */ 3742 3728 __asm__ __volatile__("lock; cmpxchg8b %1\n\t" 3743 3729 : "=A" (u64), 3744 " =m" (*pu64)3730 "+m" (*pu64) 3745 3731 : "0" (0), 3746 3732 "b" (0), 3747 "c" (0), 3748 "m" (*pu64)); 3733 "c" (0)); 3749 3734 # endif 3750 3735 # else … … 3807 3792 "movl %3, %%ebx\n\t" 3808 3793 : "=A" (u64), 3809 " =m" (*pu64)3794 "+m" (*pu64) 3810 3795 : "0" (0), 3811 3796 "m" (u32EBX), 3812 3797 "c" (0), 3813 "S" (pu64) 3814 # ifdef RT_OS_DARWIN 3815 : "memory" 3816 # else 3817 , "m" (*pu64) 3818 # endif 3819 ); 3798 "S" (pu64)); 3820 3799 # else /* !PIC */ 3821 3800 __asm__ __volatile__("cmpxchg8b %1\n\t" 3822 3801 : "=A" (u64), 3823 " =m" (*pu64)3802 "+m" (*pu64) 3824 3803 : "0" (0), 3825 3804 "b" (0), 3826 "c" (0), 3827 "m" (*pu64)); 3805 "c" (0)); 3828 3806 # endif 3829 3807 # else
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器