projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5443c94
)
[mono][interp] Fix conv.r.un from r4 (#65697)
author
Vlad Brezae
<brezaevlad@gmail.com>
Tue, 22 Feb 2022 14:43:53 +0000
(16:43 +0200)
committer
GitHub
<noreply@github.com>
Tue, 22 Feb 2022 14:43:53 +0000
(15:43 +0100)
src/mono/mono/mini/interp/transform.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/interp/transform.c
b/src/mono/mono/mini/interp/transform.c
index
f1f6286
..
6769635
100644
(file)
--- a/
src/mono/mono/mini/interp/transform.c
+++ b/
src/mono/mono/mini/interp/transform.c
@@
-5905,6
+5905,9
@@
generate_code (TransformData *td, MonoMethod *method, MonoMethodHeader *header,
}
case CEE_CONV_R_UN:
switch (td->sp [-1].type) {
+ case STACK_TYPE_R4:
+ interp_add_conv (td, td->sp - 1, NULL, STACK_TYPE_R8, MINT_CONV_R8_R4);
+ break;
case STACK_TYPE_R8:
break;
case STACK_TYPE_I8: