Issue 130424
Summary s390x: `vfchsbs` and `vfchesbs` error with only `+vector`
Labels new issue
Assignees
Reporter folkertdev
    These LLVM functions should implement the semantics of float compare (even if they are inefficient). 

https://godbolt.org/z/38PYEWW77

Most of the functions do indeed emulate for `vector_float` when only `vector` (and not `vector-enhancements-1` is available, but these don't.

```
rustc-LLVM ERROR: Cannot select: 0x7da6699a12a0: v4f32,i32 = SystemZISD::VFCMPHS 0x7da6699a1070, 0x7da6699a1150, example.rs:37:5
  0x7da6699a1070: v4f32,ch = CopyFromReg 0x7da669811520, Register:v4f32 %0
    0x7da6699a1000: v4f32 = Register %0
  0x7da6699a1150: v4f32,ch = CopyFromReg 0x7da669811520, Register:v4f32 %1
    0x7da6699a10e0: v4f32 = Register %1
In function: vec_float_compare
```

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to