Lines Matching refs:os

58 SparcStaticInst::printMnemonic(std::ostream &os, const char *mnemonic)
60 ccprintf(os, "\t%s ", mnemonic);
64 SparcStaticInst::printRegArray(std::ostream &os, const RegId indexArray[],
69 printReg(os, indexArray[0]);
71 os << ", ";
72 printReg(os, indexArray[x]);
83 SparcStaticInst::printSrcReg(std::ostream &os, int reg) const
86 printReg(os, _srcRegIdx[reg]);
90 SparcStaticInst::printDestReg(std::ostream &os, int reg) const
93 printReg(os, _destRegIdx[reg]);
97 SparcStaticInst::printReg(std::ostream &os, RegId reg)
111 ccprintf(os, "%%fp");
113 ccprintf(os, "%%sp");
115 ccprintf(os, "%%g%d", reg_idx);
117 ccprintf(os, "%%o%d", reg_idx - MaxGlobal);
119 ccprintf(os, "%%l%d", reg_idx - MaxOutput);
121 ccprintf(os, "%%i%d", reg_idx - MaxLocal);
123 ccprintf(os, "%%u%d", reg_idx - MaxInput);
128 ccprintf(os, "%%y");
131 ccprintf(os, "%%ccr");
134 ccprintf(os, "%%cansave");
137 ccprintf(os, "%%canrestore");
140 ccprintf(os, "%%cleanwin");
143 ccprintf(os, "%%otherwin");
146 ccprintf(os, "%%wstate");
151 ccprintf(os, "%%f%d", reg_idx);
155 ccprintf(os, "%%asi");
158 ccprintf(os, "%%fprs");
161 ccprintf(os, "%%pcr");
164 ccprintf(os, "%%pic");
167 ccprintf(os, "%%gsr");
170 ccprintf(os, "%%softint");
173 ccprintf(os, "%%softint_set");
176 ccprintf(os, "%%softint_clr");
179 ccprintf(os, "%%tick_cmpr");
182 ccprintf(os, "%%stick");
185 ccprintf(os, "%%stick_cmpr");
188 ccprintf(os, "%%tpc");
191 ccprintf(os, "%%tnpc");
194 ccprintf(os, "%%tstate");
197 ccprintf(os, "%%tt");
200 ccprintf(os, "%%tick");
203 ccprintf(os, "%%tba");
206 ccprintf(os, "%%pstate");
209 ccprintf(os, "%%tl");
212 ccprintf(os, "%%pil");
215 ccprintf(os, "%%cwp");
218 ccprintf(os, "%%gl");
221 ccprintf(os, "%%hpstate");
224 ccprintf(os, "%%htstate");
227 ccprintf(os, "%%hintp");
230 ccprintf(os, "%%htba");
233 ccprintf(os, "%%hstick_cmpr");
236 ccprintf(os, "%%hver");
239 ccprintf(os, "%%strand_sts_reg");
242 ccprintf(os, "%%fsr");
245 ccprintf(os, "%%ctrl%d", reg_idx);