Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebAssembly] Implement prototype f32.load_f16 instruction. #90906

Merged
merged 3 commits into from
May 7, 2024

Commits on May 2, 2024

  1. [WebAssembly] Implement prototype f32.load_f16 instruction.

    Adds a builtin and intrinsic for the f32.load_f16 instruction.
    
    The instruction loads an f16 value from memory and puts it in an f32.
    Specified at:
    https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
    
    Note: the current spec has f32.load_f16 as opcode 0xFD0120, but this is incorrect
    and will be changed to 0xFC30 soon.
    brendandahl committed May 2, 2024
    Configuration menu
    Copy the full SHA
    14313fa View commit details
    Browse the repository at this point in the history
  2. Use short for builtin. Alternatively we could use _Float16, but then

    need to enable that for the platform.
    brendandahl committed May 2, 2024
    Configuration menu
    Copy the full SHA
    aa8b37a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Review comments.

    brendandahl committed May 6, 2024
    Configuration menu
    Copy the full SHA
    e3e90b5 View commit details
    Browse the repository at this point in the history