Open Quuxplusone opened 8 years ago
Attached compiler-rt.patch
(934 bytes, text/plain): Build builtins library on powerpc64 and powerpc64le
To be clear, when you do this, all of the regression tests pass? If so, you should probably send this to llvm-commits for review.
I double checked my results, and it seems like the builtin tests aren't getting
run at all:
# BlocksRuntime and builtins testsuites are not yet ported to lit.
# add_subdirectory(BlocksRuntime)
# add_subdirectory(builtins)
Am I missing something obvious?
I had a go and running them manually, and there are a couple of failures to
investigate:
error in __fixunsxfti(0X1P+0) = 0x00000000000000000000000000000000, expected
0x00000000000000000000000000000001
error in __fixxfti(0X1P+0) = 0x00000000000000000000000000000000, expected
0x00000000000000000000000000000001
error in __floattixf(0x00000000000000000000000000000001) = 0X0.000000000000EP-
1022, expected 0X1P+0
error in __floatuntixf(0x00000000000000000000000000000001) = 0X0.000000000000EP-
1022, expected 0X1P+0
(In reply to comment #2)
> I double checked my results, and it seems like the builtin tests aren't
> getting run at all:
>
> # BlocksRuntime and builtins testsuites are not yet ported to lit.
> # add_subdirectory(BlocksRuntime)
> # add_subdirectory(builtins)
>
> Am I missing something obvious?
Likely not. Unfortunate, however, as I don't see why this would be difficult.
We should at least have a bug report tracking it.
>
> I had a go and running them manually, and there are a couple of failures to
> investigate:
>
> error in __fixunsxfti(0X1P+0) = 0x00000000000000000000000000000000, expected
> 0x00000000000000000000000000000001
> error in __fixxfti(0X1P+0) = 0x00000000000000000000000000000000, expected
> 0x00000000000000000000000000000001
> error in __floattixf(0x00000000000000000000000000000001) =
> 0X0.000000000000EP-1022, expected 0X1P+0
> error in __floatuntixf(0x00000000000000000000000000000001) =
> 0X0.000000000000EP-1022, expected 0X1P+0
compiler-rt.patch
(934 bytes, text/plain)