This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Variable Instruction Set Architecture and Its Compiler Support
July 2003 (vol. 52 no. 7)
pp. 881-895

Abstract—A variable instruction set processor provides a dictionary that enables the compiler to configure the best instruction set to use for executing the program being compiled. This paper describes Cognigine's variable instruction set communication architecture (VISC Architecture) and the implementation of a compiler that provides effective compilation and optimization support for this target. The compiler implementation involves the use of an abstract operation representation that enables the code generator to optimize toward the core architecture of the processor without committing to any specific instruction format. It then uses an enumeration approach to instruction scheduling that determines the final forms of the instructions to be generated while still adhering to the irregular constraints imposed by the architecture. The enumeration approach also allows the incorporation of dictionary reuse functionality to provide trade offs between program performance and dictionary budget. Finally, we provide experimental results to show the effectiveness of these compilation techniques in supporting Cognigine's VISC Architecture.

[1] P. Faraboschi et al., "Lx: A Technology Platform for Customizable VLIW Embedded Processing," Proc. 27th Int'l Symp. Computer Architecture (ISCA 2000), ACM Press, New York, 2000, pp. 203-213.
[2] A. Wang, E. Killian, D.E. Maydan, and C. Rowen, Hardware/Software Instruction Set Configurability for System-on-Chip Processors Proc. Design Automation Conf., pp. 184-188, 2001.
[3] ARC Int'l, The ARCtangent-A5 Processor A Technical Summary www.arccores.com, 2002.
[4] M.J. Wirthlin and B.L. Hutchings, “A Dynamic Instruction Set Computer,” Proc. IEEE Workshop FPGAs for Custom Computing Machines, pp. 99-107, Apr. 1995.
[5] B Salefski and L. Caglar, Re-Configurable Computing in Wireless Proc. Design Automation Conf., pp. 178-183, 2001.
[6] CGN16100 Network Processor User Manual, Cognigine Corp., 2002.
[7] A. Wolfe and A. Channin, Executing Compressed Programs on an Embedded RISC Architecture Proc. 25th Ann. Int'l Symp. Microarchitecture (MICRO-25), pp. 81-91, 1992.
[8] M. Kozuch and A. Wolfe, Compression of Embedded System Programs Proc. IEEE Int'l Conf. Computer Design, pp. 270-277, 1994.
[9] C. Lefurgy, P. Bird, I. Chen, and T. Mudge, Improving Code Density Using Compression Techniques Proc. 30th Ann. IEEE/ACM Symp. Microarchitecture, Dec. 1997.
[10] H. Lekatsas and W. Wolf, Code Compression for Embedded Systems Proc. 35th Design Automation Conf., pp. 516-521, 1998.
[11] T.M. Kemp, R.M. Montoye, J.D. Harper, J.D. Palmer, and D.J. Auerbach, A Decompression Core for PowerPC IBM J. Research and Development, vol. 42, no. 6, pp. 807-812, Nov. 1998.
[12] S. Liao, S. Devadas, and K. Keutzer, A Text-Compression-Based Method for Code Size Minimization in Embedded Systems ACM Trans. Design Automation of Electronic Systems, vol. 4, no. 1, pp. 12-38, Jan. 1999.
[13] S. Debray, W. Evans, R. Muth, and B. de Sutter, Compiler Techniques for Code Compression ACM Trans. Programming Languages and Systems, pp. 378-415, 2000.
[14] H. Lekatsas, J. Henkel, and V. Jakkula, Design of a One-Cycle Decompression Hardware for Performance Increase in Embedded Systems Proc. Design Automation Conf., pp. 34-39, June 2002.
[15] J. Hennessy and D. Patterson, Computer Architecture: A Quantitative Approach. Morgan Kaufmann, 2003.
[16] G. Gao, J. Amaral, J. Dehnert, and R. Towle, The SGI Pro64 Compiler Infrastructure Tutorial, Int'l Conf. Parallel Architectures and Compilation Techniques, 2000.
[17] D. Bernstein, M. Rodeh, and I. Gertner, "On the Complexity of Scheduling Problems for Parallel/Pipelined Machines," IEEE Trans. Computers, vol. 38, no. 9, pp. 1,308-1,313, Sept. 1989.
[18] K. Wilken, J. Liu, and M. Heffernan, Optimal Instruction Scheduling Using Integer Programming Programming Language Design and Implementation, pp. 121-133, June 2000.
[19] S. Davidson, D. Landskov, B.D. Shriver, and P.W. Mallett, Some Experiments in Local Microcode Compaction for Horizontal Machines IEEE Trans. Computers, vol. 30, no. 7, pp. 460-477, July 1981.
[20] J. Jonsson and K.G. Shin, A Parameterized Branch-and-Bound Strategy for Scheduling Precedence-Constraint Tasks on a Multiprocessor System Proc. Int'l Conf. Parallel Processing, pp. 158-165, Aug. 1997.
[21] M. Narasimhan and J. Ramanujam, A Fast Approach to Computing Exact Solutions to the Resource-Constrained Scheduling Problem ACM Trans. Design Automation of Electronic Systems, vol. 6, pp. 490-500, Oct. 2001.
[22] S. Abraham, W. Meleis, and I. Baev, Efficient Backtracking Instruction Schedulers Proc. Int'l Conf. Parallel Architectures and Compilation Techniques, pp. 301-308, Oct. 2001.
[23] V. Jain, S. Rele, S. Pande, and J. Ramanujam, Code Restructuring for Improving Real Time Response through Code Speed-Size Tradeoffs on Limited Memory Embedded dsps IEEE Trans. Computer-Aided Design, vol. 20, no. 4, pp. 477-494, Apr. 2001.
[24] G.L. Nemhauser and L.A. Wolsey, Integer and Combinatorial Optimization. New York: Wiley, 1988.
[25] H.P. Williams, Model Building in Mathematical Programming. John Wiley&Sons, 1993.
[26] R.J. Darkin, A Tree Search Algorithm for Mixed Integer Programming Problems Computer J., vol. 8, pp. 250-255, 1965.
[27] K. Palem and B. Simons, "Scheduling Time-Critical Instructions on RISC Machines," ACM Trans. Programming Languages and Systems, vol. 15, no. 4, pp. 632-658, Sept. 1993.
[28] M. Rim and R. Jain, Lower-Bound Performance Estimation for the High-Level Synthesis Scheduling Problem IEEE Trans. Computer-Aided Design, vol. 13, no. 4, pp. 451-458, Apr. 1994.
[29] M. Langevin and E. Cerny, A Recursive Technique for Computing Lower-Bound Performance of Schedules ACM Trans. Design Automation of Electronic Systems, vol. 1, no. 4, pp. 443-456, Oct. 1996.
[30] J.R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness technical report, Univ. of California at Los Angeles, 1955.
[31] A. Leung, K. Palem, and A. Pnueli, A Fast Algorithm for Scheduling Time-Constrained Instructions on Processor with ilp Proc. Int'l Conf. Parallel Architectures and Compilation Techniques, 1998.
[32] B.M. Smith and I.P. Gent, Symmetry Breaking during Search in Constraint Programming Proc. European Conf. Artificial Intelligence (ECAI) 2000, pp. 599-603, Jan. 1999.
[33] C. Ekelin and J. Jonsson, Evaluation of Search Heuristics for Embedded System Scheduling Problems Proc. Int'l Conf. Principles and Practice of Constraint Programming, pp. 640-654, Nov. 2001.
[34] C.V. Ramamoorthy, K.M. Chandy, and M.J. Gonzalez Jr., Optimal Scheduling Strategies in a Multiprocessor System IEEE Trans. Computers, vol. 21, pp. 137-146, 1972.
[35] H.C. Chou and C.P. Chung, An Optimal Instruction Scheduler for Superscalar Processor IEEE Trans. Parallel and Distributed Systems, vol. 6, no. 3, pp. 303-313, Mar. 1995.
[36] T. Kong, J. Liu, K. Narayanan, and F. Chow, Cognigine C Compiler: Harnessing the Power of the CGN16100 Network Processor Proc. Network Processor Conf., Oct. 2002.
[37] J. Liu, T. Kong, F. Chow, Effective Compilation Support for Variable Instruction Set Architecture Proc. Int'l Conf. Parallel Architectures and Compilation Techniques (PACT), Sept. 2002.
[38] J. Liu and F. Chow, A Near-Optimal Instruction Scheduler for a Tightly Constrained, Variable Instruction Set Embedded Processor Proc. Int'l Conf. Compilers, Architecture, and Synthesis for Embedded Sysmtems (CASES), Oct. 2002.

Index Terms:
Configurable code generation, dictionary, embedded processor, enumeration, instruction scheduling, program representation, resource modeling, variable instruction set.
Citation:
Jack Liu, Fred Chow, Timothy Kong, Rupan Roy, "Variable Instruction Set Architecture and Its Compiler Support," IEEE Transactions on Computers, vol. 52, no. 7, pp. 881-895, July 2003, doi:10.1109/TC.2003.1214337
Usage of this product signifies your acceptance of the Terms of Use.