cpu2000.py (4107:3ac1abf8e035) | cpu2000.py (4116:f6e3dc4655e9) |
---|---|
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 --- 607 unchanged lines hidden (view full) --- 616 name = 'vortex' 617 number = 255 618 lang = 'C' 619 stdin = None 620 621 def __init__(self, isa, os, input_set): 622 if isa == 'alpha': 623 self.endian = 'lendian' | 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 --- 607 unchanged lines hidden (view full) --- 616 name = 'vortex' 617 number = 255 618 lang = 'C' 619 stdin = None 620 621 def __init__(self, isa, os, input_set): 622 if isa == 'alpha': 623 self.endian = 'lendian' |
624 elif (isa == 'sparc' or isa == 'sparc32'): 625 self.endian = 'bendian' |
|
624 else: 625 raise AttributeError, "unknown ISA %s" % isa 626 627 super(vortex, self).__init__(isa, os, input_set) 628 629 def test(self, isa, os): 630 self.args = [ '%s.raw' % self.endian ] 631 self.output = 'vortex.out' --- 73 unchanged lines hidden --- | 626 else: 627 raise AttributeError, "unknown ISA %s" % isa 628 629 super(vortex, self).__init__(isa, os, input_set) 630 631 def test(self, isa, os): 632 self.args = [ '%s.raw' % self.endian ] 633 self.output = 'vortex.out' --- 73 unchanged lines hidden --- |