Skip to content

Add SIMD integer min and max instructions - #2416

Merged
tlively merged 1 commit into
WebAssembly:masterfrom
tlively:int-min-max
Nov 2, 2019
Merged

tlively merged 1 commit into
WebAssembly:masterfrom
tlively:int-min-max

Conversation

@tlively

@tlively tlively commented Nov 2, 2019

Copy link
Copy Markdown
Member

As proposed in WebAssembly/simd#27.

Comment thread src/ir/cost.h
break;
case MaxUVecI32x4:
ret = 1;
break;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we possibly merge the same return values in this function (possibly in a separate PR), like

case ABC:
case DEF:
case GHI:
  ret = 1;
  break;
case BLAH:
case BLEH:
  ret = 2;
  break;
...

@tlively
tlively merged commit 0a5925a into WebAssembly:master Nov 2, 2019
@tlively
tlively deleted the int-min-max branch April 24, 2020 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants