zig.h: fix the fallback path in zig_e_zig_x86_get_xcr0()
2 files changed, 2 insertions(+), 8 deletions(-)
lib/zig.h+1-4
| ... | ... | @@ -6794,10 +6794,7 @@ static inline uint32_t zig_e_zig_x86_get_xcr0(void) { |
| 6794 | 6794 | __asm__("xgetbv" : "=a" (eax), "=d" (edx) : "c" (0)); |
| 6795 | 6795 | return eax; |
| 6796 | 6796 | #else |
| 6797 | | *eax = 0; |
| 6798 | | *ebx = 0; |
| 6799 | | *ecx = 0; |
| 6800 | | *edx = 0; |
| 6797 | return 0; |
| 6801 | 6798 | #endif |
| 6802 | 6799 | } |
| 6803 | 6800 | |
stage1/zig.h+1-4
| ... | ... | @@ -6794,10 +6794,7 @@ static inline uint32_t zig_e_zig_x86_get_xcr0(void) { |
| 6794 | 6794 | __asm__("xgetbv" : "=a" (eax), "=d" (edx) : "c" (0)); |
| 6795 | 6795 | return eax; |
| 6796 | 6796 | #else |
| 6797 | | *eax = 0; |
| 6798 | | *ebx = 0; |
| 6799 | | *ecx = 0; |
| 6800 | | *edx = 0; |
| 6797 | return 0; |
| 6801 | 6798 | #endif |
| 6802 | 6799 | } |
| 6803 | 6800 | |