Skip to content

Port Fcopysign..FcvtToSintSat to ISLE (AArch64)#4753

Merged
cfallin merged 2 commits into
bytecodealliance:mainfrom
dheaton-arm:isle-fpcvt
Aug 24, 2022
Merged

Port Fcopysign..FcvtToSintSat to ISLE (AArch64)#4753
cfallin merged 2 commits into
bytecodealliance:mainfrom
dheaton-arm:isle-fpcvt

Conversation

@dheaton-arm
Copy link
Copy Markdown
Contributor

Ported the existing implementations of the following opcodes to ISLE on
AArch64:

  • Fcopysign
    • Also introduced missing support for fcopysign on vector values, as
      per the docs.
    • This introduces the vector encoding for the SLI machine
      instruction.
  • FcvtToUint
  • FcvtToSint
  • FcvtFromUint
  • FcvtFromSint
  • FcvtToUintSat
  • FcvtToSintSat

Copyright (c) 2022 Arm Limited

@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. labels Aug 23, 2022
@dheaton-arm dheaton-arm changed the title Port FcvtToUint..`FcvtToSintSat to ISLE (AArch64) Port Fcopysign..`FcvtToSintSat to ISLE (AArch64) Aug 23, 2022
@dheaton-arm dheaton-arm changed the title Port Fcopysign..`FcvtToSintSat to ISLE (AArch64) Port Fcopysign..FcvtToSintSat to ISLE (AArch64) Aug 23, 2022
Copy link
Copy Markdown
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

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

Thanks!

I have some thoughts below on a possible refactor but if it's too onerous, we can skip (the side-effecting emits are in inst.isle alongside other emitter-helpers so it's not strictly necessary to fix I think).

Comment thread cranelift/codegen/src/isa/aarch64/inst.isle
Comment thread cranelift/codegen/src/isa/aarch64/inst.isle Outdated
Ported the existing implementations of the following opcodes to ISLE on
AArch64:
- `Fcopysign`
  - Also introduced missing support for `fcopysign` on vector values, as
    per the docs.
  - This introduces the vector encoding for the `SLI` machine
    instruction.
- `FcvtToUint`
- `FcvtToSint`
- `FcvtFromUint`
- `FcvtFromSint`
- `FcvtToUintSat`
- `FcvtToSintSat`

Copyright (c) 2022 Arm Limited
Copy link
Copy Markdown
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

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

Thanks!

@cfallin cfallin merged commit 94bcbe8 into bytecodealliance:main Aug 24, 2022
@dheaton-arm dheaton-arm deleted the isle-fpcvt branch August 25, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:aarch64 Issues related to AArch64 backend. cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants