summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoongsuk Cho <ws77.cho@samsung.com>2021-06-24 15:30:56 +0900
committerWoongsuk Cho <ws77.cho@samsung.com>2021-06-24 16:34:02 +0900
commiteaef32009e16d78617ee87a28d9858d52572c0c2 (patch)
tree265bd7d6686a6e3aef34184346842727409c27f8
parent01ce73cb2ebaa8d0e9d4025371849459a8e0ffd2 (diff)
downloadcoreclr-accepted/tizen/unified/20210624.131704.tar.gz
coreclr-accepted/tizen/unified/20210624.131704.tar.bz2
coreclr-accepted/tizen/unified/20210624.131704.zip
Add "yield" assembly for YieldProcessor() function in ARM arch
-rw-r--r--src/pal/inc/pal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index 5a4e758aaf..1f01541389 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -3823,7 +3823,7 @@ YieldProcessor(
__asm__ __volatile__(
"rep\n"
"nop");
-#elif defined(_ARM64_)
+#elif defined(_ARM64_) || defined(_ARM_)
__asm__ __volatile__( "yield");
#else
return;