119 research outputs found

    Register Allocation After Classical SSA Elimination is NP-Complete

    Full text link
    Abstract. Chaitin proved that register allocation is equivalent to graph coloring and hence NP-complete. Recently, Bouchez, Brisk, and Hack have proved independently that the interference graph of a program in static single assignment (SSA) form is chordal and therefore colorable in linear time. Can we use the result of Bouchez et al. to do register allocation in polynomial time by first transforming the program to SSA form, then performing register allocation, and finally doing the classical SSA elimination that replaces φ-functions with copy instructions? In this paper we show that the answer is no, unless P = NP: register allocation after classical SSA elimination is NP-complete. Chaitin’s proof technique does not work for programs after classical SSA elimination; instead we use a reduction from the graph coloring problem for circular arc graphs.

    Preference-Guided Register Assignment

    Full text link
    Abstract. This paper deals with coalescing in SSA-based register allo-cation. Current coalescing techniques all require the interference graph to be built. This is generally considered to be too compile-time intensive for just-in-time compilation. In this paper, we present a biased coloring approach that gives results similar to standalone coalescers while signif-icantly reducing compile time.

    Bilingualism for the Minor or the Major? An Evaluative Analysis of Parallel Conceptions in China

    Get PDF
    This paper is an analysis of two conceptions of bilingualism that exist in parallel in China. One is traditional bilingualism referring to the use of a native minority language and standard Chinese by minority groups and the other, seen as bilingualism with modern characteristics, is a modern-day phenomenon in which the majority Han group aspire to produce bilinguals with a strong competence in mother tongue Chinese and a foreign language, primarily English, by using Chinese and the foreign language as mediums of instruction in teaching school subjects. The focus of the analysis is on the latter for the simple reason that current literature on the new phenomenon is mostly available only in Chinese. An equally important aim of this paper is to explore the impact of the new phenomenon on minority education and to examine the reason why this impact is largely ignored in bilingualism discussions, despite obvious consequences with respect to ethnic identity, personality development and academic performance of minority students. Thus, the traditional conception is briefly reviewed at the start

    Comments on determining structural controllability

    No full text
    • …
    corecore