Skip to content

invalid vector codegen with riscv64 #4486

@andrewrk

Description

@andrewrk
Test [197/1295] fmt.test "std-riscv64-linux-none-Debug-bare-multi vector"...
====== expected this output: =========
{ true, false, true, false }
======== instead found this: =========
{ true, true, true, true }
======================================

To reproduce:

In the llvm10 branch, remove this:

zig/lib/std/fmt.zig

Lines 1735 to 1738 in 64365bc

if (builtin.arch == .riscv64) {
// https://github.com/ziglang/zig/issues/4486
return error.SkipZigTest;
}

Additionally grep for that URL / issue number and make sure no other test skips exist. Next:

./zig test ../lib/std/std.zig -target riscv64-linux

Related: #3317

cc @luismarques

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-riscv6464-bit RISC-VbugObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.upstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions