Stream: git-wasmtime

Topic: wasmtime / issue #4850 cranelift: Implement unordered flo...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 09:49):

afonso360 labeled issue #4850:

:wave: Hey,

While working in the fcmp testsuite for #4849 I discovered that all unordered float comparisons are unimplemented in AArch64.

I don't actually need this, its just a tracking issue.

.clif Test Case

test run
target aarch64

function %fcmp_uge_f32(f32, f32) -> b1 {
block0(v0: f32, v1: f32):
    v2 = fcmp uge v0, v1
    return v2
}
; run: %fcmp_uge_f32(0x0.5, 0x0.5) == true

A more comprehensive test suite was introduced in #4849

Steps to Reproduce

Expected Results

The test to pass.

Actual Results

Crashes with unimplemented.

Versions and Environment

Cranelift version or commit: main
Operating system: Linux
Architecture: AArch64

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 09:49):

afonso360 opened issue #4850:

:wave: Hey,

While working in the fcmp testsuite for #4849 I discovered that all unordered float comparisons are unimplemented in AArch64.

I don't actually need this, its just a tracking issue.

.clif Test Case

test run
target aarch64

function %fcmp_uge_f32(f32, f32) -> b1 {
block0(v0: f32, v1: f32):
    v2 = fcmp uge v0, v1
    return v2
}
; run: %fcmp_uge_f32(0x0.5, 0x0.5) == true

A more comprehensive test suite was introduced in #4849

Steps to Reproduce

Expected Results

The test to pass.

Actual Results

Crashes with unimplemented.

Versions and Environment

Cranelift version or commit: main
Operating system: Linux
Architecture: AArch64

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 09:49):

afonso360 labeled issue #4850:

:wave: Hey,

While working in the fcmp testsuite for #4849 I discovered that all unordered float comparisons are unimplemented in AArch64.

I don't actually need this, its just a tracking issue.

.clif Test Case

test run
target aarch64

function %fcmp_uge_f32(f32, f32) -> b1 {
block0(v0: f32, v1: f32):
    v2 = fcmp uge v0, v1
    return v2
}
; run: %fcmp_uge_f32(0x0.5, 0x0.5) == true

A more comprehensive test suite was introduced in #4849

Steps to Reproduce

Expected Results

The test to pass.

Actual Results

Crashes with unimplemented.

Versions and Environment

Cranelift version or commit: main
Operating system: Linux
Architecture: AArch64

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 09:57):

afonso360 edited issue #4850:

:wave: Hey,

While working in the fcmp testsuite for #4849 I discovered that all unordered float comparisons are unimplemented in AArch64.

I don't actually need this, its just a tracking issue.

.clif Test Case

test run
target aarch64

function %fcmp_uge_f32(f32, f32) -> b1 {
block0(v0: f32, v1: f32):
    v2 = fcmp uge v0, v1
    return v2
}
; run: %fcmp_uge_f32(0x0.5, 0x0.5) == true

A more comprehensive test suite was introduced in #4849

Steps to Reproduce

Expected Results

The test to pass.

Actual Results

Crashes with unimplemented.

https://github.com/bytecodealliance/wasmtime/blob/d2e19b8d74f557d862214938aa3184efe2409641/cranelift/codegen/src/isa/aarch64/lower.rs#L950-L968

Versions and Environment

Cranelift version or commit: main
Operating system: Linux
Architecture: AArch64

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 15:37):

akirilov-arm labeled issue #4850:

:wave: Hey,

While working in the fcmp testsuite for #4849 I discovered that all unordered float comparisons are unimplemented in AArch64.

I don't actually need this, its just a tracking issue.

.clif Test Case

test run
target aarch64

function %fcmp_uge_f32(f32, f32) -> b1 {
block0(v0: f32, v1: f32):
    v2 = fcmp uge v0, v1
    return v2
}
; run: %fcmp_uge_f32(0x0.5, 0x0.5) == true

A more comprehensive test suite was introduced in #4849

Steps to Reproduce

Expected Results

The test to pass.

Actual Results

Crashes with unimplemented.

https://github.com/bytecodealliance/wasmtime/blob/d2e19b8d74f557d862214938aa3184efe2409641/cranelift/codegen/src/isa/aarch64/lower.rs#L950-L968

Versions and Environment

Cranelift version or commit: main
Operating system: Linux
Architecture: AArch64


Last updated: Nov 22 2024 at 17:03 UTC