1 /* src/vm/jit/sparc64/emit.c - SPARC code emitter functions
3 Copyright (C) 1996-2005, 2006, 2007, 2008
4 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 This file is part of CACAO.
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2, or (at
11 your option) any later version.
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
32 #include "vm/jit/sparc64/codegen.h"
33 #include "vm/jit/sparc64/md-abi.h"
34 #include "vm/jit/sparc64/emit.h"
36 #include "mm/memory.hpp"
38 #include "vm/jit/builtin.hpp"
39 #include "vm/options.h"
41 #include "vm/jit/abi.h"
42 #include "vm/jit/abi-asm.h"
43 #include "vm/jit/asmpart.h"
44 #include "vm/jit/dseg.h"
45 #include "vm/jit/emit-common.hpp"
46 #include "vm/jit/jit.hpp"
47 #include "vm/jit/replace.hpp"
49 #include "vm/jit/sparc64/solaris/macro_rename.h"
51 /* how to leaf optimization in the emitted stubs?? */
52 #define REG_PV REG_PV_CALLEE
55 /* emit_load *******************************************************************
57 Emits a possible load of an operand.
59 *******************************************************************************/
61 s4 emit_load(jitdata *jd, instruction *iptr, varinfo *src, s4 tempreg)
67 /* get required compiler data */
71 if (src->flags & INMEMORY) {
72 COUNT_READ_SPILLS(src)
74 disp = JITSTACK + src->vv.regoff;
81 M_LDX(tempreg, REG_SP, disp);
85 M_DLD(tempreg, REG_SP, disp);
88 vm_abort("emit_load: unknown type %d", src->type);
101 /* emit_store ******************************************************************
103 Emits a possible store to variable.
105 *******************************************************************************/
107 void emit_store(jitdata *jd, instruction *iptr, varinfo *dst, s4 d)
112 /* get required compiler data */
116 if (dst->flags & INMEMORY) {
117 COUNT_WRITE_SPILLS(dst)
119 disp = JITSTACK + dst->vv.regoff;
126 M_STX(d, REG_SP, disp);
130 M_DST(d, REG_SP, disp);
133 vm_abort("emit_store: unknown type %d", dst->type);
140 /* emit_copy *******************************************************************
142 Generates a register/memory to register/memory copy.
144 *******************************************************************************/
146 void emit_copy(jitdata *jd, instruction *iptr)
153 /* get required compiler data */
157 /* get source and destination variables */
159 src = VAROP(iptr->s1);
160 dst = VAROP(iptr->dst);
162 if ((src->vv.regoff != dst->vv.regoff) ||
163 ((src->flags ^ dst->flags) & INMEMORY)) {
165 if ((src->type == TYPE_RET) || (dst->type == TYPE_RET)) {
166 /* emit nothing, as the value won't be used anyway */
170 /* If one of the variables resides in memory, we can eliminate
171 the register move from/to the temporary register with the
172 order of getting the destination register and the load. */
174 if (IS_INMEMORY(src->flags)) {
175 d = codegen_reg_of_var(iptr->opc, dst, REG_IFTMP);
176 s1 = emit_load(jd, iptr, src, d);
179 s1 = emit_load(jd, iptr, src, REG_IFTMP);
180 d = codegen_reg_of_var(iptr->opc, dst, s1);
195 vm_abort("emit_copy: unknown type %d", src->type);
200 emit_store(jd, iptr, dst, d);
205 /* emit_iconst *****************************************************************
209 *******************************************************************************/
211 void emit_iconst(codegendata *cd, s4 d, s4 value)
215 if ((value >= -4096) && (value <= 4095)) {
216 M_XOR_IMM(REG_ZERO, value, d);
218 disp = dseg_add_s4(cd, value);
219 M_ILD(d, REG_PV_CALLEE, disp);
224 /* emit_lconst *****************************************************************
228 *******************************************************************************/
230 void emit_lconst(codegendata *cd, s4 d, s8 value)
234 if ((value >= -4096) && (value <= 4095)) {
235 M_XOR_IMM(REG_ZERO, value, d);
237 disp = dseg_add_s8(cd, value);
238 M_LDX(d, REG_PV_CALLEE, disp);
244 * Emits code updating the condition register by comparing one integer
245 * register to an immediate integer value.
247 void emit_icmp_imm(codegendata* cd, int reg, int32_t value)
249 if ((value >= -4096) && (value <= 4095)) {
250 M_CMP_IMM(reg, value);
252 assert(reg != REG_ITMP2);
253 ICONST(REG_ITMP2, value);
254 M_CMP(reg, REG_ITMP2);
259 /* emit_branch *****************************************************************
261 Emits the code for conditional and unconditional branchs.
263 *******************************************************************************/
265 void emit_branch(codegendata *cd, s4 disp, s4 condition, s4 reg, u4 opt)
269 /* calculate the different displacements */
271 branchdisp = disp >> 2;
273 /* check which branch to generate */
275 if (condition == BRANCH_UNCONDITIONAL) {
276 /* check displacement for overflow (19-bit)*/
278 if ((branchdisp < (s4) 0xfffc0000) || (branchdisp > (s4) 0x003ffff)) {
279 /* if the long-branches flag isn't set yet, do it */
281 if (!CODEGENDATA_HAS_FLAG_LONGBRANCHES(cd)) {
282 cd->flags |= (CODEGENDATA_FLAG_ERROR |
283 CODEGENDATA_FLAG_LONGBRANCHES);
286 vm_abort("emit_branch: emit unconditional long-branch code");
293 else if (reg == -1) {
294 /* branch on condition codes */
296 /* check displacement for overflow (19-bit)*/
298 if ((branchdisp < (s4) 0xfffc0000) || (branchdisp > (s4) 0x003ffff)) {
299 /* if the long-branches flag isn't set yet, do it */
301 if (!CODEGENDATA_HAS_FLAG_LONGBRANCHES(cd)) {
302 log_println("setting error");
303 cd->flags |= (CODEGENDATA_FLAG_ERROR |
304 CODEGENDATA_FLAG_LONGBRANCHES);
307 vm_abort("emit_branch: emit long-branch on cc code");
310 /* check whether to branch on 64-bit condition code */
311 if (BRANCH_CHECKS_XCC(opt)) {
338 vm_abort("emit_branch: unknown condition %d", condition);
371 vm_abort("emit_branch: unknown condition %d", condition);
380 /* branch on register */
382 /* check displacement for overflow (16-bit) */
384 if ((branchdisp < (s4) 0xffff8000) || (branchdisp > (s4) 0x0007fff)) {
385 /* if the long-branches flag isn't set yet, do it */
387 if (!CODEGENDATA_HAS_FLAG_LONGBRANCHES(cd)) {
388 log_println("setting error");
389 cd->flags |= (CODEGENDATA_FLAG_ERROR |
390 CODEGENDATA_FLAG_LONGBRANCHES);
393 vm_abort("emit_branch: emit long-branch on reg code");
398 M_BEQZ(reg, branchdisp);
401 M_BNEZ(reg, branchdisp);
404 M_BLTZ(reg, branchdisp);
407 M_BGEZ(reg, branchdisp);
410 M_BGTZ(reg, branchdisp);
413 M_BLEZ(reg, branchdisp);
416 vm_abort("emit_branch: unknown condition %d", condition);
426 /* emit_bxx_xcc*****************************************************************
428 Wrappers for branches on 64-bit condition codes (SPARC specific).
430 *******************************************************************************/
432 void emit_beq_xcc(codegendata *cd, basicblock *target)
434 emit_bcc(cd, target, BRANCH_EQ, BRANCH_OPT_XCC);
437 void emit_bne_xcc(codegendata *cd, basicblock *target)
439 emit_bcc(cd, target, BRANCH_NE, BRANCH_OPT_XCC);
442 void emit_blt_xcc(codegendata *cd, basicblock *target)
444 emit_bcc(cd, target, BRANCH_LT, BRANCH_OPT_XCC);
447 void emit_bge_xcc(codegendata *cd, basicblock *target)
449 emit_bcc(cd, target, BRANCH_GE, BRANCH_OPT_XCC);
452 void emit_bgt_xcc(codegendata *cd, basicblock *target)
454 emit_bcc(cd, target, BRANCH_GT, BRANCH_OPT_XCC);
457 void emit_ble_xcc(codegendata *cd, basicblock *target)
459 emit_bcc(cd, target, BRANCH_LE, BRANCH_OPT_XCC);
466 /* emit_arithmetic_check *******************************************************
468 Emit an ArithmeticException check.
470 *******************************************************************************/
472 void emit_arithmetic_check(codegendata *cd, instruction *iptr, s4 reg)
474 if (INSTRUCTION_MUST_CHECK(iptr)) {
477 M_ALD_INTERN(REG_ZERO, REG_ZERO, TRAP_ArithmeticException);
482 /* emit_arrayindexoutofbounds_check ********************************************
484 Emit an ArrayIndexOutOfBoundsException check.
486 *******************************************************************************/
488 void emit_arrayindexoutofbounds_check(codegendata *cd, instruction *iptr, s4 s1, s4 s2)
490 if (INSTRUCTION_MUST_CHECK(iptr)) {
491 M_ILD(REG_ITMP3, s1, OFFSET(java_array_t, size));
492 M_CMP(s2, REG_ITMP3);
495 M_ALD_INTERN(s2, REG_ZERO, TRAP_ArrayIndexOutOfBoundsException);
500 /* emit_arraystore_check *******************************************************
502 Emit an ArrayStoreException check.
504 *******************************************************************************/
506 void emit_arraystore_check(codegendata *cd, instruction *iptr)
508 if (INSTRUCTION_MUST_CHECK(iptr)) {
509 M_BNEZ(REG_RESULT_CALLER, 3);
511 M_ALD_INTERN(REG_RESULT_CALLER, REG_ZERO, TRAP_ArrayStoreException);
516 /* emit_classcast_check ********************************************************
518 Emit a ClassCastException check.
520 *******************************************************************************/
522 void emit_classcast_check(codegendata *cd, instruction *iptr, s4 condition, s4 reg, s4 s1)
524 /* XXX: use 64-bit or 32-bit compares??? */
526 if (INSTRUCTION_MUST_CHECK(iptr)) {
541 vm_abort("emit_classcast_check: unknown condition %d", condition);
545 M_ALD_INTERN(s1, REG_ZERO, TRAP_ClassCastException);
550 /* emit_nullpointer_check ******************************************************
552 Emit a NullPointerException check.
554 *******************************************************************************/
556 void emit_nullpointer_check(codegendata *cd, instruction *iptr, s4 reg)
558 if (INSTRUCTION_MUST_CHECK(iptr)) {
561 M_ALD_INTERN(REG_ZERO, REG_ZERO, TRAP_NullPointerException);
566 /* emit_exception_check ********************************************************
568 Emit an Exception check.
570 *******************************************************************************/
572 void emit_exception_check(codegendata *cd, instruction *iptr)
574 if (INSTRUCTION_MUST_CHECK(iptr)) {
575 M_BNEZ(REG_RESULT_CALLER, 3);
577 M_ALD_INTERN(REG_RESULT_CALLER, REG_ZERO, TRAP_CHECK_EXCEPTION);
582 /* emit_trap *******************************************************************
584 Emit a trap instruction and return the original machine code.
586 *******************************************************************************/
588 uint32_t emit_trap(codegendata *cd)
592 /* Get machine code which is patched back in later. The
593 trap is 1 instruction word long. */
595 mcode = *((uint32_t *) cd->mcodeptr);
597 M_ALD_INTERN(REG_ZERO, REG_ZERO, TRAP_PATCHER);
604 * Emit code to recompute the procedure vector.
606 void emit_recompute_pv(codegendata *cd)
608 int32_t disp = (int32_t) (cd->mcodeptr - cd->mcodebase);
610 /* REG_RA holds the value of the jmp instruction, therefore +8 */
611 M_LDA(REG_ZERO, REG_RA_CALLER, -disp + 8);
616 * Generates synchronization code to enter a monitor.
618 #if defined(ENABLE_THREADS)
619 void emit_monitor_enter(jitdata* jd, int32_t syncslot_offset)
624 // Get required compiler data.
625 methodinfo* m = jd->m;
626 codegendata* cd = jd->cd;
628 # if !defined(NDEBUG)
629 if (JITDATA_HAS_FLAG_VERBOSECALL(jd)) {
630 /* save float argument registers */
634 ALIGN_STACK_SLOTS(slots);
636 M_LDA(REG_SP, REG_SP, -(slots * 8));
637 for (i = 0; i < FLT_ARG_CNT; i++)
638 M_DST(abi_registers_float_argument[i], REG_SP, CSTACK + i * 8);
640 syncslot_offset += slots * 8;
644 /* get correct lock object */
646 if (m->flags & ACC_STATIC) {
647 disp = dseg_add_address(cd, &m->clazz->object.header);
648 M_ALD(REG_OUT0, REG_PV, disp);
649 disp = dseg_add_functionptr(cd, LOCK_monitor_enter);
650 M_ALD(REG_ITMP3, REG_PV, disp);
653 /* copy class pointer: $i0 -> $o0 */
654 M_MOV(REG_RESULT_CALLEE, REG_OUT0);
656 disp = dseg_add_functionptr(cd, LOCK_monitor_enter);
657 M_ALD(REG_ITMP3, REG_PV, disp); /* branch delay */
658 M_ALD_INTERN(REG_ZERO, REG_ZERO, TRAP_NullPointerException);
661 M_JMP(REG_RA_CALLER, REG_ITMP3, REG_ZERO);
662 M_AST(REG_OUT0, REG_SP, CSTACK + syncslot_offset); /* branch delay */
664 # if !defined(NDEBUG)
665 if (JITDATA_HAS_FLAG_VERBOSECALL(jd)) {
666 /* restore float argument registers */
668 for (i = 0; i < FLT_ARG_CNT; i++)
669 M_DLD(abi_registers_float_argument[i], REG_SP, CSTACK + i * 8);
671 M_LDA(REG_SP, REG_SP, slots * 8);
679 * Generates synchronization code to leave a monitor.
681 #if defined(ENABLE_THREADS)
682 void emit_monitor_exit(jitdata* jd, int32_t syncslot_offset)
686 // Get required compiler data.
687 methodinfo* m = jd->m;
688 codegendata* cd = jd->cd;
691 disp = dseg_add_functionptr(cd, LOCK_monitor_exit);
692 M_ALD(REG_ITMP3, REG_PV, disp);
694 /* we need to save fp return value (int saved by window) */
696 methoddesc* md = m->parseddesc;
698 switch (md->returntype.type) {
701 M_ALD(REG_OUT0, REG_SP, CSTACK + syncslot_offset);
702 M_JMP(REG_RA_CALLER, REG_ITMP3, REG_ZERO);
703 M_DST(REG_FRESULT, REG_SP, CSTACK + syncslot_offset); /* delay */
705 /* restore the fp return value */
707 M_DLD(REG_FRESULT, REG_SP, CSTACK + syncslot_offset);
713 M_JMP(REG_RA_CALLER, REG_ITMP3, REG_ZERO);
714 M_ALD(REG_OUT0, REG_SP, CSTACK + syncslot_offset); /* delay */
721 /* emit_patcher_stubs **********************************************************
723 Generates the code for the patcher stubs.
725 *******************************************************************************/
727 void emit_patcher_stubs(jitdata *jd)
737 /* get required compiler data */
741 /* generate code patching stub call code */
745 for (pref = cd->patchrefs; pref != NULL; pref = pref->next) {
746 /* check code segment size */
750 /* Get machine code which is patched back in later. The
751 call is 2 instruction words long. */
753 tmpmcodeptr = (u1 *) (cd->mcodebase + pref->branchpos);
755 /* We use 2 loads here as an unaligned 8-byte read on 64-bit
756 SPARC causes a SIGSEGV */
758 mcode[0] = ((u4 *) tmpmcodeptr)[0];
759 mcode[1] = ((u4 *) tmpmcodeptr)[1];
761 /* Patch in the call to call the following code (done at
764 savedmcodeptr = cd->mcodeptr; /* save current mcodeptr */
765 cd->mcodeptr = tmpmcodeptr; /* set mcodeptr to patch position */
767 disp = ((u4 *) savedmcodeptr) - (((u4 *) tmpmcodeptr) );
769 if ((disp < (s4) 0xfffc0000) || (disp > (s4) 0x003ffff)) {
770 vm_abort("Jump offset is out of range: %d > +/-%d",
778 cd->mcodeptr = savedmcodeptr; /* restore the current mcodeptr */
780 /* extend stack frame for wrapper data */
782 M_ASUB_IMM(REG_SP, 6 * 8, REG_SP);
784 /* calculate return address and move it onto the stack */
786 M_LDA(REG_ITMP3, REG_PV, pref->branchpos);
787 M_AST(REG_ITMP3, REG_SP, JITSTACK + 5 * 8);
789 /* move pointer to java_objectheader onto stack */
791 #if defined(ENABLE_THREADS)
792 /* create a virtual java_objectheader */
794 (void) dseg_add_unique_address(cd, NULL); /* flcword */
795 (void) dseg_add_unique_address(cd, lock_get_initial_lock_word());
796 disp = dseg_add_unique_address(cd, NULL); /* vftbl */
798 M_LDA(REG_ITMP3, REG_PV, disp);
799 M_AST(REG_ITMP3, REG_SP, JITSTACK + 4 * 8);
804 /* move machine code onto stack */
806 disp = dseg_add_s4(cd, mcode[0]);
807 M_ILD(REG_ITMP3, REG_PV, disp);
808 M_IST(REG_ITMP3, REG_SP, JITSTACK + 3 * 8);
810 disp = dseg_add_s4(cd, mcode[1]);
811 M_ILD(REG_ITMP3, REG_PV, disp);
812 M_IST(REG_ITMP3, REG_SP, JITSTACK + 3 * 8 + 4);
814 /* move class/method/field reference onto stack */
816 disp = dseg_add_address(cd, pref->ref);
817 M_ALD(REG_ITMP3, REG_PV, disp);
818 M_AST(REG_ITMP3, REG_SP, JITSTACK + 2 * 8);
820 /* move data segment displacement onto stack */
822 disp = dseg_add_s4(cd, pref->disp);
823 M_ILD(REG_ITMP3, REG_PV, disp);
824 M_IST(REG_ITMP3, REG_SP, JITSTACK + 1 * 8);
826 /* move patcher function pointer onto stack */
828 disp = dseg_add_functionptr(cd, pref->patcher);
829 M_ALD(REG_ITMP3, REG_PV, disp);
830 M_AST(REG_ITMP3, REG_SP, JITSTACK + 0 * 8);
832 if (targetdisp == 0) {
833 targetdisp = ((u4 *) cd->mcodeptr) - ((u4 *) cd->mcodebase);
835 disp = dseg_add_functionptr(cd, asm_patcher_wrapper);
836 M_ALD(REG_ITMP3, REG_PV, disp);
837 M_JMP(REG_ZERO, REG_ITMP3, REG_ZERO);
841 disp = (((u4 *) cd->mcodebase) + targetdisp) -
842 (((u4 *) cd->mcodeptr));
851 /* emit_verbosecall_enter ******************************************************
853 Generates the code for the call trace.
855 *******************************************************************************/
858 void emit_verbosecall_enter(jitdata *jd)
868 /* get required compiler data */
876 /* mark trace code */
881 stackslots = 1 + FLT_ARG_CNT;
882 ALIGN_STACK_SLOTS(stackslots);
884 M_LDA(REG_SP, REG_SP, -(stackslots * 8));
886 /* save float argument registers */
888 for (i = 0; i < FLT_ARG_CNT; i++)
889 M_DST(abi_registers_float_argument[i], REG_SP, JITSTACK + (1 + i) * 8);
891 /* save temporary registers for leaf methods */
892 /* XXX no leaf optimization yet
893 if (code_is_leafmethod(code)) {
894 for (i = 0; i < INT_TMP_CNT; i++)
895 M_LST(rd->tmpintregs[i], REG_SP, (2 + ARG_CNT + i) * 8);
897 for (i = 0; i < FLT_TMP_CNT; i++)
898 M_DST(rd->tmpfltregs[i], REG_SP, (2 + ARG_CNT + INT_TMP_CNT + i) * 8);
901 /* load int/float arguments into integer argument registers */
903 for (i = 0; i < md->paramcount && i < INT_NATARG_CNT; i++) {
904 t = md->paramtypes[i].type;
906 /* all available argument registers used, which adds a little complexity */
908 if (IS_INT_LNG_TYPE(t)) {
909 if (i < INT_ARG_CNT) {
910 M_INTMOVE(REG_WINDOW_TRANSPOSE(abi_registers_integer_argument[i]),
911 abi_registers_integer_argument[i]);
915 M_LDX(REG_OUT5, REG_FP, JITSTACK);
919 if (i < FLT_ARG_CNT) {
921 /* reg -> mem -> reg */
923 if (IS_2_WORD_TYPE(t)) {
924 M_DST(abi_registers_float_argument[i], REG_SP, JITSTACK);
925 M_LDX(abi_registers_integer_argument[i], REG_SP, JITSTACK);
928 M_FST(abi_registers_float_argument[i], REG_SP, JITSTACK);
929 M_ILD(abi_registers_integer_argument[i], REG_SP, JITSTACK);
937 if (IS_2_WORD_TYPE(t)) {
938 M_LDX(REG_OUT5, REG_FP, JITSTACK);
941 M_ILD(REG_OUT5, REG_FP, JITSTACK);
948 /* method info pointer is passed via stack */
949 disp = dseg_add_address(cd, m);
950 M_ALD(REG_ITMP1, REG_PV_CALLEE, disp);
951 M_AST(REG_ITMP1, REG_SP, CSTACK);
952 disp = dseg_add_functionptr(cd, builtin_verbosecall_enter);
953 M_ALD(REG_ITMP1, REG_PV_CALLEE, disp);
954 M_JMP(REG_RA_CALLER, REG_ITMP1, REG_ZERO);
957 /* restore float argument registers */
959 for (i = 0; i < FLT_ARG_CNT; i++)
960 M_DLD(abi_registers_float_argument[i], REG_SP, JITSTACK + (1 + i) * 8);
962 /* restore temporary registers for leaf methods */
963 /* XXX no leaf optimization yet
964 if (code_is_leafmethod(code)) {
965 for (i = 0; i < INT_TMP_CNT; i++)
966 M_LLD(rd->tmpintregs[i], REG_SP, (2 + ARG_CNT + i) * 8);
968 for (i = 0; i < FLT_TMP_CNT; i++)
969 M_DLD(rd->tmpfltregs[i], REG_SP, (2 + ARG_CNT + INT_TMP_CNT + i) * 8);
972 M_LDA(REG_SP, REG_SP, stackslots * 8);
974 /* mark trace code */
978 #endif /* !defined(NDEBUG) */
981 /* emit_verbosecall_exit *******************************************************
983 Generates the code for the call trace.
985 *******************************************************************************/
988 void emit_verbosecall_exit(jitdata *jd)
995 /* get required compiler data */
1001 /* mark trace code */
1005 /* XXX jit-c-call (keep stack aligned)*/
1006 M_LDA(REG_SP, REG_SP, -(2 * 8));
1008 M_DST(REG_FRESULT, REG_SP, JITSTACK);
1010 M_MOV(REG_RESULT_CALLEE, REG_OUT0);
1011 M_DMOV(REG_FRESULT, 1); /* logical dreg 1 => f2 */
1012 M_FMOV(REG_FRESULT, 2); /* logical freg 2 => f5 */
1014 disp = dseg_add_functionptr(cd, m);
1015 M_ALD(REG_OUT3, REG_PV_CALLEE, disp);
1017 disp = dseg_add_functionptr(cd, builtin_verbosecall_exit);
1018 M_ALD(REG_ITMP3, REG_PV_CALLEE, disp);
1019 M_JMP(REG_RA_CALLER, REG_ITMP3, REG_ZERO);
1022 M_DLD(REG_FRESULT, REG_SP, JITSTACK);
1024 M_LDA(REG_SP, REG_SP, 2 * 8);
1026 /* mark trace code */
1030 #endif /* !defined(NDEBUG) */
1034 * These are local overrides for various environment variables in Emacs.
1035 * Please do not remove this and leave it at the end of the file, where
1036 * Emacs will automagically detect them.
1037 * ---------------------------------------------------------------------
1040 * indent-tabs-mode: t
1044 * vim:noexpandtab:sw=4:ts=4: