Skip to content

Conversation

@BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Mar 17, 2022

Fixes #65881

@lewing
Copy link
Member

lewing commented Mar 17, 2022

this should probably revert radical@a40eb18 too?

BrzVlad added 4 commits March 19, 2022 00:10
The IL execution stack operates on generic floating type F, which can be stored in local of both float32 or float64. We however operate on the real types and need to add implicit conversions if necessary.
It was previously handling only R8 correctly.
@BrzVlad
Copy link
Member Author

BrzVlad commented Mar 19, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BrzVlad BrzVlad merged commit 82d06f5 into dotnet:main Mar 21, 2022
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Mar 30, 2022
* [mono][interp] Fix warning when storing function pointers

* [mono][interp] Fix storing of R4 or R8 into local of different size

The IL execution stack operates on generic floating type F, which can be stored in local of both float32 or float64. We however operate on the real types and need to add implicit conversions if necessary.

* [mono][interp] Fix ckfinite

It was previously handling only R8 correctly.

* [mono][interp] Add implicit conversion between nint and int32

* [mono][interp] Change warning to error
@ghost ghost locked as resolved and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm] Interpreter: Local variable of function pointer type emits a warning Test.Prepare: Store local stack type mismatch 0 7

4 participants