floating.hh (8229:78bf55f23338) floating.hh (12616:4b463b4dc098)
1/*
2 * Copyright (c) 2009 The University of Edinburgh
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

140 uint32_t c = 0;
141 if (isNan(a) || isNan(b)) { c = 0x1; }
142 else if (a < b) { c = 0x8; }
143 else if (a > b) { c = 0x4; }
144 else { c = 0x2; }
145 return c;
146 }
147
1/*
2 * Copyright (c) 2009 The University of Edinburgh
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

140 uint32_t c = 0;
141 if (isNan(a) || isNan(b)) { c = 0x1; }
142 else if (a < b) { c = 0x8; }
143 else if (a > b) { c = 0x4; }
144 else { c = 0x2; }
145 return c;
146 }
147
148 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
148 std::string generateDisassembly(
149 Addr pc, const SymbolTable *symtab) const override;
149};
150
151} // namespace PowerISA
152
153#endif //__ARCH_POWER_INSTS_FLOATING_HH__
150};
151
152} // namespace PowerISA
153
154#endif //__ARCH_POWER_INSTS_FLOATING_HH__