Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning

碩士 === 臺灣大學 === 資訊網路與多媒體研究所 === 95 === For a compiler to find a set of options that result in an optimal program execution is a NP-hard problem, especially when there are a lot of options to choose. For a large program, finding the optimal set of compiler options can take an enormous amount of time....

Full description

Bibliographic Details
Main Authors: Chi-Meng Chen, 陳奇孟
Other Authors: Shih-Hao Hung
Format: Others
Language:en_US
Published: 2007
Online Access:http://ndltd.ncl.edu.tw/handle/54363747575578347948
id ndltd-TW-095NTU05641022
record_format oai_dc
spelling ndltd-TW-095NTU056410222015-10-13T13:55:55Z http://ndltd.ncl.edu.tw/handle/54363747575578347948 Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning 以機器學習快速的搜尋最佳編譯器選項集合 Chi-Meng Chen 陳奇孟 碩士 臺灣大學 資訊網路與多媒體研究所 95 For a compiler to find a set of options that result in an optimal program execution is a NP-hard problem, especially when there are a lot of options to choose. For a large program, finding the optimal set of compiler options can take an enormous amount of time. Thus, methods have been proposed to shorten the searching time by reducing the complexity of the problem. This thesis proposes a different approach to solve the problem via machine learning techniques. The goal of this approach is to give an acceptable answer in a short time. Using our approach we achieve a 5% improvement over the -O3 of GCC on a storage system and 7% on the MediaBench II. Moreover, the time our approach costs to get acceptable answer is only 1/100 of the time that CE Algorithm takes on a storage system. Shih-Hao Hung 洪士灝 2007 學位論文 ; thesis 41 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 臺灣大學 === 資訊網路與多媒體研究所 === 95 === For a compiler to find a set of options that result in an optimal program execution is a NP-hard problem, especially when there are a lot of options to choose. For a large program, finding the optimal set of compiler options can take an enormous amount of time. Thus, methods have been proposed to shorten the searching time by reducing the complexity of the problem. This thesis proposes a different approach to solve the problem via machine learning techniques. The goal of this approach is to give an acceptable answer in a short time. Using our approach we achieve a 5% improvement over the -O3 of GCC on a storage system and 7% on the MediaBench II. Moreover, the time our approach costs to get acceptable answer is only 1/100 of the time that CE Algorithm takes on a storage system.
author2 Shih-Hao Hung
author_facet Shih-Hao Hung
Chi-Meng Chen
陳奇孟
author Chi-Meng Chen
陳奇孟
spellingShingle Chi-Meng Chen
陳奇孟
Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
author_sort Chi-Meng Chen
title Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
title_short Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
title_full Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
title_fullStr Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
title_full_unstemmed Finding the Best Compiler Optimization Option Set Rapidly via Machine Learning
title_sort finding the best compiler optimization option set rapidly via machine learning
publishDate 2007
url http://ndltd.ncl.edu.tw/handle/54363747575578347948
work_keys_str_mv AT chimengchen findingthebestcompileroptimizationoptionsetrapidlyviamachinelearning
AT chénqímèng findingthebestcompileroptimizationoptionsetrapidlyviamachinelearning
AT chimengchen yǐjīqìxuéxíkuàisùdesōuxúnzuìjiābiānyìqìxuǎnxiàngjíhé
AT chénqímèng yǐjīqìxuéxíkuàisùdesōuxúnzuìjiābiānyìqìxuǎnxiàngjíhé
_version_ 1717745704360738816