Xev-GMP: Automatic Code Generation for GMP Multiple-Precision Code from C Code

Download PDF

Citation (bibtex)

	author={Hishinuma, Toshiaki and Sakakibara, Takuma and Fujii, Akihiro and Tanaka, Teruo and Hirasawa, Shoichi},
	booktitle={2016 IEEE Intl Conference on Computational Science and Engineering (CSE) and IEEE Intl Conference on Embedded and Ubiquitous Computing (EUC) and 15th Intl Symposium on Distributed Computing and Applications for Business Engineering (DCABES)},
	title={Xev-GMP: Automatic Code Generation for GMP Multiple-Precision Code from C Code},


We propose directive-based automatic code generation for a multiple-precision code from a C code with double precision.The multiple-precision code uses the GNU Multiple Precision Arithmetic Library (GMP).Our code generation functions can be separated into binary operations by automatically creating a temporary variable, transforming C mathematical functions into corresponding GMP functions, and managing functions that return a double-precision value.Our proposed system enables users to check the accuracy dependency of many algorithms by adding a few directives to C codes with double precision.


IEEE Xplore