Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Shorten all saturating instructions to "sat" #332

Closed

Description

@ngzhian

The saturating instructions spell out the word "saturate".
I propose we shorten it to "sat" to be consistent with the truncation with saturation instructions, see https://webassembly.github.io/spec/core/text/instructions.html, e.g. 𝗂𝟨𝟦.𝗍𝗋𝗎𝗇𝖼_𝗌𝖺𝗍_𝖿𝟥𝟤_𝗌.

Activity

  1. carlsmith commented on Sep 6, 2020

    @carlsmith

    I always thought lop and sop would have been better names for truncate and saturate, especially in an assembly language, but that kind of thing isn't really appropriate in a serious standard.

    +1 for sat.

  2. tlively commented on Sep 6, 2020

    @tlively
    Member

    @penzn @abrown Does this sound good to you? I think this is straightforward enough that it probably doesn't need to be voted on in a meeting.

  3. penzn commented on Sep 8, 2020

    @penzn
    Contributor

    Sounds fine to me, and I don't think we need to vote unless there are any concerns about this.

  4. added a commit that references this issue on Sep 10, 2020
    460474a
  5. binji commented on Sep 10, 2020

    @binji
    Member

    Let's keep this issue open while we fix other WAT consumers too (e.g. binaryen, wabt). I'm also curious what we should do with the clang intrinsics. From the meeting last week, it sounds like we should batch these changes and do them all at once, is that right?

  6. tlively commented on Sep 10, 2020

    @tlively
    Member

    Yes, batching changes is always nice for Binaryen and LLVM, and I think it's ok if they lag behind a bit on the renaming. I separately opened #342 to discuss further changes to the intrinsic names.

  7. ngzhian commented on Mar 17, 2021

    @ngzhian
    MemberAuthor

    wabt is done WebAssembly/wabt#1553, llvm and wasm_simd128.h is not up to date.

  8. ngzhian commented on May 11, 2021

    @ngzhian
    MemberAuthor

    LLVM is updated, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions