microregop.cc (4804:4a707cb7065b) microregop.cc (4953:1181cf10e11e)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 98 unchanged lines hidden (view full) ---

107 case ConditionTests::SZnZF:
108 return !(!ccflags.EZF & ccflags.ZF);
109 case ConditionTests::MSTRZ:
110 panic("This condition is not implemented!");
111 case ConditionTests::STRZ:
112 panic("This condition is not implemented!");
113 case ConditionTests::MSTRC:
114 panic("This condition is not implemented!");
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 98 unchanged lines hidden (view full) ---

107 case ConditionTests::SZnZF:
108 return !(!ccflags.EZF & ccflags.ZF);
109 case ConditionTests::MSTRZ:
110 panic("This condition is not implemented!");
111 case ConditionTests::STRZ:
112 panic("This condition is not implemented!");
113 case ConditionTests::MSTRC:
114 panic("This condition is not implemented!");
115 case ConditionTests::STRZnZF:
116 panic("This condition is not implemented!");
115 case ConditionTests::STRZnEZF:
116 return !ccflags.EZF & ccflags.ZF;
117 //And no interrupts or debug traps are waiting
117 case ConditionTests::OF:
118 return ccflags.OF;
119 case ConditionTests::CF:
120 return ccflags.CF;
121 case ConditionTests::ZF:
122 return ccflags.ZF;
123 case ConditionTests::CvZF:
124 return ccflags.CF | ccflags.ZF;

--- 14 unchanged lines hidden (view full) ---

139 case ConditionTests::NotSZnZF:
140 return !ccflags.EZF & ccflags.ZF;
141 case ConditionTests::NotMSTRZ:
142 panic("This condition is not implemented!");
143 case ConditionTests::NotSTRZ:
144 panic("This condition is not implemented!");
145 case ConditionTests::NotMSTRC:
146 panic("This condition is not implemented!");
118 case ConditionTests::OF:
119 return ccflags.OF;
120 case ConditionTests::CF:
121 return ccflags.CF;
122 case ConditionTests::ZF:
123 return ccflags.ZF;
124 case ConditionTests::CvZF:
125 return ccflags.CF | ccflags.ZF;

--- 14 unchanged lines hidden (view full) ---

140 case ConditionTests::NotSZnZF:
141 return !ccflags.EZF & ccflags.ZF;
142 case ConditionTests::NotMSTRZ:
143 panic("This condition is not implemented!");
144 case ConditionTests::NotSTRZ:
145 panic("This condition is not implemented!");
146 case ConditionTests::NotMSTRC:
147 panic("This condition is not implemented!");
147 case ConditionTests::NotSTRZnZF:
148 panic("This condition is not implemented!");
148 case ConditionTests::STRnZnEZF:
149 return !ccflags.EZF & !ccflags.ZF;
150 //And no interrupts or debug traps are waiting
149 case ConditionTests::NotOF:
150 return !ccflags.OF;
151 case ConditionTests::NotCF:
152 return !ccflags.CF;
153 case ConditionTests::NotZF:
154 return !ccflags.ZF;
155 case ConditionTests::NotCvZF:
156 return !(ccflags.CF | ccflags.ZF);

--- 40 unchanged lines hidden ---
151 case ConditionTests::NotOF:
152 return !ccflags.OF;
153 case ConditionTests::NotCF:
154 return !ccflags.CF;
155 case ConditionTests::NotZF:
156 return !ccflags.ZF;
157 case ConditionTests::NotCvZF:
158 return !(ccflags.CF | ccflags.ZF);

--- 40 unchanged lines hidden ---