cpu2000.py (6028:137a2b89eed4) cpu2000.py (7416:e1a7a9f33a00)
1# Copyright (c) 2006-2008 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

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

658
659class vortex(Benchmark):
660 name = 'vortex'
661 number = 255
662 lang = 'C'
663 stdin = None
664
665 def __init__(self, isa, os, input_set):
1# Copyright (c) 2006-2008 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

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

658
659class vortex(Benchmark):
660 name = 'vortex'
661 number = 255
662 lang = 'C'
663 stdin = None
664
665 def __init__(self, isa, os, input_set):
666 if isa == 'alpha':
666 if (isa == 'alpha' or isa == 'arm'):
667 self.endian = 'lendian'
668 elif (isa == 'sparc' or isa == 'sparc32'):
669 self.endian = 'bendian'
670 else:
671 raise AttributeError, "unknown ISA %s" % isa
672
673 super(vortex, self).__init__(isa, os, input_set)
674

--- 80 unchanged lines hidden ---
667 self.endian = 'lendian'
668 elif (isa == 'sparc' or isa == 'sparc32'):
669 self.endian = 'bendian'
670 else:
671 raise AttributeError, "unknown ISA %s" % isa
672
673 super(vortex, self).__init__(isa, os, input_set)
674

--- 80 unchanged lines hidden ---