Skip to content

Commit 8d71cad

Browse files
committed
Update
1 parent 40abdef commit 8d71cad

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

LLVMIntrinsicRewrite/LLVMIntrinsicRewrite.vcxproj

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
</ProjectConfiguration>
1212
</ItemGroup>
1313
<ItemGroup>
14-
<ClCompile Include="llvm_Intrinsic_gsxxx.c" />
1514
<ClCompile Include="llvm_Intrinsic_vminstr.c" />
1615
</ItemGroup>
1716
<PropertyGroup Label="Globals">

LLVMIntrinsicRewrite/llvm_Intrinsic_gsxxx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ __writegsdword(unsigned long Offset, unsigned long Data)
2020
void
2121
__writegsqword(unsigned long Offset, unsigned long long Data)
2222
{
23-
__asm__ __volatile__("movq %q[Data], %%gs:%a[Offset]" : : [Offset] "ir"(Offset), [Data] "ir"(Data) : "memory");
23+
__asm__ __volatile__("movq %q[Data], %%gs:%a[Offset]" : : [Offset] "ir"(Offset), [Data] "r"(Data) : "memory");
2424
}
2525
#endif
2626

0 commit comments

Comments
 (0)