Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented May 6, 2022

Completes the support for said function.

A small number of diffs:

  1. Improvements: we form new constants from FP <-> integer reinterpretations.
  2. Regressions: we discover new CSEs due to the fact BitCast logic can skip redundant casts for small types in some cases. This new precision is not all that useful however because the new CSE defs throw exceptions different from their uses (typical case: Def: field = array[0]; Use: read field; Use: read field).

@ghost ghost added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member labels May 6, 2022
@ghost
Copy link

ghost commented May 6, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

Completes the support for said function.

A small number of diffs in tests where we form new constants from FP <-> integer reinterpretations.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@SingleAccretion SingleAccretion force-pushed the Physical-VN-BitCast-Upstream branch from 2fda552 to c73ed51 Compare May 6, 2022 20:23
@SingleAccretion SingleAccretion marked this pull request as ready for review May 7, 2022 11:28
@SingleAccretion
Copy link
Contributor Author

Windows ARM64 failures with empty logs look like infrastructure issues.

@dotnet/jit-contrib

@SingleAccretion SingleAccretion marked this pull request as draft May 8, 2022 09:15
@SingleAccretion
Copy link
Contributor Author

Still needs some work.

@SingleAccretion SingleAccretion force-pushed the Physical-VN-BitCast-Upstream branch 3 times, most recently from 628eeba to 1e1aaa2 Compare May 8, 2022 17:16
@SingleAccretion SingleAccretion marked this pull request as ready for review May 8, 2022 20:24
@SingleAccretion
Copy link
Contributor Author

Should be complete at this point.

@SingleAccretion SingleAccretion force-pushed the Physical-VN-BitCast-Upstream branch from 1e1aaa2 to 163a537 Compare May 10, 2022 15:36
@jakobbotsch
Copy link
Member

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

A few small diffs in tests where we now form new constants
for "long/int <-> double/float>" reinterpretations.

Completes the support for "VNF_BitCast" and removes the SIMD
quirk from "VNForLoadStoreBitCast".
@SingleAccretion SingleAccretion force-pushed the Physical-VN-BitCast-Upstream branch from 163a537 to ed4d088 Compare May 13, 2022 15:01
Only usage of "active" union members is well-defined in C++.
Copy link
Member

@jakobbotsch jakobbotsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jakobbotsch jakobbotsch merged commit e50de74 into dotnet:main May 15, 2022
@SingleAccretion SingleAccretion deleted the Physical-VN-BitCast-Upstream branch May 15, 2022 10:59
@ghost ghost locked as resolved and limited conversation to collaborators Jun 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants