string.isa (7087:fb8d5786ff30) string.isa (7626:bdd926760470)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

80 allBlocks.decoder_output += blocks.decoder_output
81 allBlocks.exec_output += blocks.exec_output
82
83 allBlocks.decode_block = '''
84 if (LEGACY_REP) {
85 %s
86 } else if (LEGACY_REPNE) {
87 // The repne prefix is illegal
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

80 allBlocks.decoder_output += blocks.decoder_output
81 allBlocks.exec_output += blocks.exec_output
82
83 allBlocks.decode_block = '''
84 if (LEGACY_REP) {
85 %s
86 } else if (LEGACY_REPNE) {
87 // The repne prefix is illegal
88 return new MicroFault(machInst, "illprefix", new InvalidOpcode, 0);
88 return new MicroFault(machInst, "illprefix", 0,
89 new InvalidOpcode, 0);
89 } else {
90 %s
91 }
92 ''' % (eBlocks.decode_block, regBlocks.decode_block)
93
94 (header_output, decoder_output,
95 decode_block, exec_output) = allBlocks.makeList()
96}};
90 } else {
91 %s
92 }
93 ''' % (eBlocks.decode_block, regBlocks.decode_block)
94
95 (header_output, decoder_output,
96 decode_block, exec_output) = allBlocks.makeList()
97}};