Abstract
The update of embedded processor may introduce new function unit, new coprocessor, or even new additional DSP. In many cases, software application can’t be fully rebuilt to utilize these new resources. This paper describes a novel framework, called Runtime Instruction Rescheduling (RIR), to solve this problem. RIR can find hot spots in binary codes, build a large instruction window to generate trace, reschedule and optimize instructions in traces. Different scheduling policies have been simulated. Shown from detailed simulation, RIR helps the old binary codes benefit from new hardware resources.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Talla, D., Austen, R., Brier, D., et al.: TMS320DM310 – A Portable Digital Media Processor. In: Proceeding of 15th Symposium on High Performance Chips (2003)
Li, L., Xue, J.: A Trace-based Binary Compilation Framework for Energy-Aware Computing. In: Proceedings of the 2004 ACM SIGPLAN/SIGBED conference on Languages, compilers, and tools (LCTES 2004), pp. 95–106 (2004)
Fisher, J.A.: Trace Scheduling: A Technique for Global Microcode Compaction. IEEE Transaction on Computer, 478–490 (July 1981)
Merten, M.M., Trick, A., Barnes, R., Nystrom, E., George, C., Gyllenhaal, J., Hwu, W.W.: An Architectural Framework for Runtime Optimization. In: IEEE Transactions on Computers, pp. 567–589 (June 2001)
Dehnert, J.C., Grant, B.K., Banning, J.P., et al.: The Transmeta Code Morphing Software: Using Speculation, Recovery, and Adaptive Retranslation to Address Real-life Challenges. In: Proceedings of the 2003 International Symposium on Code Generation and Optimization, pp. 15–24 (2003)
Balsa, V., Duesterwald, E., Banerjia, S.: Dynamo: A Transparent Dynamic Optimization System. In: Proceedings of the ACM SIGPLAN 2000 Conference on Programming Language Design and Implementation, pp. 1–12 (2000)
Conte, T.M., Menezes, K.N., Hirsch, M.A.: Accurate and Practical Profile-Driven Compilation Using the Profile Buffer. In: Proceedings of the 29th Annual International Symposium on Microarchitecture, pp. 36–45 (1996)
Patel, S.J., Lumetta, S.S.: Replay: A Hardware Framework for Dynamic Optimization. IEEE Transactions on Computers 50(6), 590–608 (2001)
Rotenberg, E., Bennett, S., Smith, J.E.: Trace Cache: A low latency approach to high bandwidth instruction fetching. In: Proceedings of 29th International Symposium on Microarchitecture, pp. 24–35 (1996)
Rosner, R., Almog, Y., Moffie, M., Schwartz, N., Medelson, A.: Power Awareness through Selective Dynamically Optimized Traces. In: Proceedings of the 31st annual international symposium on Computer architecture (ISCA-31), pp. 162–173 (2004)
Berndl, M., Hendren, L.: Dynamic profiling and trace cache generation. In: Proceedings of the international symposium on code generation and optimization: feedback-directed and runtime optimization, pp. 276–285 (2003)
Allan, V.H., Jones, R.B., Lee, R.M., Allan, S.J.: Software Pipeline. ACM computing Surveys (CSUR) 27, 367–432 (1995)
Ellis, J.R.: Bulldog: A Compiler for VLIW Architecture. MIT Press, Cambridge (1986)
Intel Corp. IA-32 Intel Architecture Software Developer’s Manual volume 1: Basic Architecture (25366515) (2004)
Vaswani, K., Thazhuthaveetil, M.J., SriKant, Y.N.: A Programmable Hardware Path Profiler. In: Proceedings of the International Symposium on Code Generation and Optimization, pp. 217–228 (2004)
Franklin, M., Smotherman, M.: A Fill-unit Approach to Multiple Instruction Issue. In: Proceedings of 27th annual international symposium on Microarchitecture, pp. 162–171 (1994)
Fahs, B.M.: An Analysis of A Novel Approach to Dynamic Optimization. M.S. Thesis of the University of Illinois at Urbana-Champaign (2003)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Tang, Y., Deng, K., Cao, H., Zhou, X. (2005). Trace-Based Runtime Instruction Rescheduling for Architecture Extension. In: Yang, L.T., Zhou, X., Zhao, W., Wu, Z., Zhu, Y., Lin, M. (eds) Embedded Software and Systems. ICESS 2005. Lecture Notes in Computer Science, vol 3820. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11599555_4
Download citation
DOI: https://doi.org/10.1007/11599555_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-30881-2
Online ISBN: 978-3-540-32297-9
eBook Packages: Computer ScienceComputer Science (R0)