Changeset 94054 in vbox for trunk/include
- Timestamp:
- Mar 2, 2022 10:18:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r94023 r94054 2674 2674 # endif 2675 2675 : [uDst] "=&r" (u32) 2676 : [pMem] " m" (*pu8)2676 : [pMem] "Q" (*pu8) 2677 2677 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2678 2678 return (uint8_t)u32; … … 2701 2701 # endif 2702 2702 : [uDst] "=&r" (u32) 2703 : [pMem] " m" (*pu8));2703 : [pMem] "Q" (*pu8)); 2704 2704 return (uint8_t)u32; 2705 2705 #else … … 2728 2728 # endif 2729 2729 : [iDst] "=&r" (i32) 2730 : [pMem] " m" (*pi8)2730 : [pMem] "Q" (*pi8) 2731 2731 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2732 2732 return (int8_t)i32; … … 2754 2754 # endif 2755 2755 : [iDst] "=&r" (i32) 2756 : [pMem] " m" (*pi8));2756 : [pMem] "Q" (*pi8)); 2757 2757 return (int8_t)i32; 2758 2758 #else … … 2781 2781 # endif 2782 2782 : [uDst] "=&r" (u32) 2783 : [pMem] " m" (*pu16)2783 : [pMem] "Q" (*pu16) 2784 2784 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2785 2785 return (uint16_t)u32; … … 2809 2809 # endif 2810 2810 : [uDst] "=&r" (u32) 2811 : [pMem] " m" (*pu16));2811 : [pMem] "Q" (*pu16)); 2812 2812 return (uint16_t)u32; 2813 2813 #else … … 2836 2836 # endif 2837 2837 : [iDst] "=&r" (i32) 2838 : [pMem] " m" (*pi16)2838 : [pMem] "Q" (*pi16) 2839 2839 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2840 2840 return (int16_t)i32; … … 2864 2864 # endif 2865 2865 : [iDst] "=&r" (i32) 2866 : [pMem] " m" (*pi16));2866 : [pMem] "Q" (*pi16)); 2867 2867 return (int16_t)i32; 2868 2868 #else … … 2891 2891 # endif 2892 2892 : [uDst] "=&r" (u32) 2893 : [pMem] " m" (*pu32)2893 : [pMem] "Q" (*pu32) 2894 2894 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2895 2895 return u32; … … 2922 2922 # endif 2923 2923 : [uDst] "=&r" (u32) 2924 : [pMem] " m" (*pu32));2924 : [pMem] "Q" (*pu32)); 2925 2925 return u32; 2926 2926 #else … … 2952 2952 # endif 2953 2953 : [iDst] "=&r" (i32) 2954 : [pMem] " m" (*pi32)2954 : [pMem] "Q" (*pi32) 2955 2955 RTASM_ARM_DMB_SY_COMMA_IN_REG); 2956 2956 return i32; … … 2983 2983 # endif 2984 2984 : [iDst] "=&r" (i32) 2985 : [pMem] " m" (*pi32));2985 : [pMem] "Q" (*pi32)); 2986 2986 return i32; 2987 2987 … … 3084 3084 # endif 3085 3085 : [uDst] "=&r" (u64) 3086 : [pMem] " m" (*pu64)3086 : [pMem] "Q" (*pu64) 3087 3087 RTASM_ARM_DMB_SY_COMMA_IN_REG); 3088 3088 … … 3185 3185 # endif 3186 3186 : [uDst] "=&r" (u64) 3187 : [pMem] " m" (*pu64));3187 : [pMem] "Q" (*pu64)); 3188 3188 3189 3189 # else … … 5936 5936 # endif 5937 5937 : [uDst] "=&r" (u32) 5938 : [pMem] " m" (*(uint8_t const *)pvByte));5938 : [pMem] "Q" (*(uint8_t const *)pvByte)); 5939 5939 return (uint8_t)u32; 5940 5940
Note:
See TracChangeset
for help on using the changeset viewer.