util.isa (12104:edd63f9c6184) | util.isa (12106:7784fac1b159) |
---|---|
1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 70 unchanged lines hidden (view full) --- 79 bool store = flags[IsStore]; 80 81 printMnemonic(response, mnemonic); 82 if (store) { 83 printReg(response, _srcRegIdx[0]); 84 ccprintf(response, ", "); 85 } 86 ccprintf(response, "["); | 1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 70 unchanged lines hidden (view full) --- 79 bool store = flags[IsStore]; 80 81 printMnemonic(response, mnemonic); 82 if (store) { 83 printReg(response, _srcRegIdx[0]); 84 ccprintf(response, ", "); 85 } 86 ccprintf(response, "["); |
87 if (_srcRegIdx[!store ? 0 : 1].regIdx != 0) { | 87 if (_srcRegIdx[!store ? 0 : 1].index() != 0) { |
88 printSrcReg(response, !store ? 0 : 1); 89 ccprintf(response, " + "); 90 } 91 printSrcReg(response, !store ? 1 : 2); 92 ccprintf(response, "]"); 93 if (load) { 94 ccprintf(response, ", "); 95 printReg(response, _destRegIdx[0]); --- 10 unchanged lines hidden (view full) --- 106 bool save = flags[IsStore]; 107 108 printMnemonic(response, mnemonic); 109 if (save) { 110 printReg(response, _srcRegIdx[0]); 111 ccprintf(response, ", "); 112 } 113 ccprintf(response, "["); | 88 printSrcReg(response, !store ? 0 : 1); 89 ccprintf(response, " + "); 90 } 91 printSrcReg(response, !store ? 1 : 2); 92 ccprintf(response, "]"); 93 if (load) { 94 ccprintf(response, ", "); 95 printReg(response, _destRegIdx[0]); --- 10 unchanged lines hidden (view full) --- 106 bool save = flags[IsStore]; 107 108 printMnemonic(response, mnemonic); 109 if (save) { 110 printReg(response, _srcRegIdx[0]); 111 ccprintf(response, ", "); 112 } 113 ccprintf(response, "["); |
114 if (_srcRegIdx[!save ? 0 : 1].regIdx != 0) { | 114 if (_srcRegIdx[!save ? 0 : 1].index() != 0) { |
115 printReg(response, _srcRegIdx[!save ? 0 : 1]); 116 ccprintf(response, " + "); 117 } 118 if (imm >= 0) 119 ccprintf(response, "0x%x]", imm); 120 else 121 ccprintf(response, "-0x%x]", -imm); 122 if (load) { --- 245 unchanged lines hidden --- | 115 printReg(response, _srcRegIdx[!save ? 0 : 1]); 116 ccprintf(response, " + "); 117 } 118 if (imm >= 0) 119 ccprintf(response, "0x%x]", imm); 120 else 121 ccprintf(response, "-0x%x]", -imm); 122 if (load) { --- 245 unchanged lines hidden --- |