summaryrefslogtreecommitdiff
path: root/src/vm/arm64
diff options
context:
space:
mode:
authorFrederik Carlier <frederik.carlier@quamotion.mobi>2017-02-05 20:49:49 +0100
committerJan Kotas <jkotas@microsoft.com>2017-02-05 11:49:49 -0800
commitd5fe383d22fa36b1f30ef3bd93bca192ad096225 (patch)
tree0d5292cad59768c7c168f4833105864a9c6cf918 /src/vm/arm64
parenta8c08f3eff7a6e9d9391816006ad2121c0f5b9b2 (diff)
downloadcoreclr-d5fe383d22fa36b1f30ef3bd93bca192ad096225.tar.gz
coreclr-d5fe383d22fa36b1f30ef3bd93bca192ad096225.tar.bz2
coreclr-d5fe383d22fa36b1f30ef3bd93bca192ad096225.zip
Port #5339 to Linux (#9348)
Diffstat (limited to 'src/vm/arm64')
-rw-r--r--src/vm/arm64/crthelpers.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/arm64/crthelpers.S b/src/vm/arm64/crthelpers.S
index ff0df5b898..f7b5f76a7a 100644
--- a/src/vm/arm64/crthelpers.S
+++ b/src/vm/arm64/crthelpers.S
@@ -18,7 +18,7 @@
//
//void JIT_MemSet(void *dst, int val, SIZE_T count)
//
-// uintptr_t valEx = (char)val;
+// uintptr_t valEx = (unsigned char)val;
// valEx = valEx | valEx << 8;
// valEx = valEx | valEx << 16;
// valEx = valEx | valEx << 32;
@@ -85,7 +85,7 @@
// as C++ method.
LEAF_ENTRY JIT_MemSet, _TEXT
- sxtb w8,w1
+ uxtb w8,w1
sxtw x8,w8
orr x8,x8,x8, lsl #8
orr x8,x8,x8, lsl #0x10