mediaop.isa (9010:7891b96e1526) mediaop.isa (9471:4193ed60eed7)
1/// Copyright (c) 2009 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

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

1497 ccFlagBits = ccFlagBits | (ZFBit | PFBit);
1498 cfofBits = cfofBits | CFBit;
1499 }
1500 else if(arg1 < arg2)
1501 cfofBits = cfofBits | CFBit;
1502 else if(arg1 == arg2)
1503 ccFlagBits = ccFlagBits | ZFBit;
1504 '''
1/// Copyright (c) 2009 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

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

1497 ccFlagBits = ccFlagBits | (ZFBit | PFBit);
1498 cfofBits = cfofBits | CFBit;
1499 }
1500 else if(arg1 < arg2)
1501 cfofBits = cfofBits | CFBit;
1502 else if(arg1 == arg2)
1503 ccFlagBits = ccFlagBits | ZFBit;
1504 '''
1505
1506 class Emms(MediaOp):
1507 def __init__(self):
1508 super(Emms, self).__init__('InstRegIndex(MISCREG_FTW)',
1509 'InstRegIndex(0)', 'InstRegIndex(0)', 0)
1510 code = 'FTW = 0xFFFF;'
1505}};
1511}};