3 Star 0 Fork 14

Lyupa Anastasia/llvm-test-suite

forked from liwentao/llvm-test-suite 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TEST.beta-compare.report 942 Bytes
一键复制 编辑 原始数据 按行查看 历史
##=== TEST.beta-compare.report - Compare llc vs llcbeta --------*- perl -*-===##
#
# This file defines a report to be generated for the beta-compare test.
#
##===----------------------------------------------------------------------===##
# Sort by name
$SortCol = 1;
$TrimRepeatedPrefix = 1;
sub SizeRatio {
my ($Cols, $Col) = @_;
my $LLC = $Cols->[$Col-2];
my $BETA = $Cols->[$Col-1];
return "n/a" if ($LLC eq "*" or $BETA eq "*");
return sprintf("%2.3f", $LLC/$BETA);
}
# These are the columns for the report. The first entry is the header for the
# column, the second is the regex to use to match the value. Empty list create
# seperators, and closures may be put in for custom processing.
(
# Name
["Name:" , '\'([^\']+)\' Program'],
[],
# Code Size
["#Insts", 'LLC: *([0-9]+).*Number of machine instrs printed'],
["Beta", 'LLCBETA: *([0-9]+).*Number of machine instrs printed'],
["LLC/BETA" , \&SizeRatio],
[]
);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lyupaanastasia/llvm-test-suite.git
git@gitee.com:lyupaanastasia/llvm-test-suite.git
lyupaanastasia
llvm-test-suite
llvm-test-suite
main

搜索帮助