Page MenuHomePhabricator

[PowerPC] [FP128] Expand the cast operations as libcall for Power8

Authored by steven.zhang on Nov 18 2020, 6:42 PM.


Group Reviewers
Restricted Project

The legalizer support expanding the cast operation(sint_to_fp, fp_to_sint, fp_extend, fp_round etc) as libcall. PowerPC need it to handle the IEEE Long double for Power8.

Diff Detail

Unit TestsFailed

380 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp

Event Timeline

steven.zhang created this revision.Nov 18 2020, 6:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2020, 6:42 PM
steven.zhang planned changes to this revision.Nov 19 2020, 5:41 AM
steven.zhang retitled this revision from [FP128] Expand the cast operations as libcall to [PowerPC] [FP128] Expand the cast operations as libcall for Power8.
steven.zhang edited the summary of this revision. (Show Details)
steven.zhang abandoned this revision.Nov 24 2020, 9:09 PM

Abandon this patch as it is merge into D91331.