mem.isa (6192:6cd5f0282d8a) mem.isa (6739:48d10ba361c9)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

543
544 # Declare the prefetch instruction object.
545
546 # Make sure flag args are lists so we can mess with them.
547 mem_flags = makeList(mem_flags)
548 pf_flags = makeList(pf_flags)
549 inst_flags = makeList(inst_flags)
550
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

543
544 # Declare the prefetch instruction object.
545
546 # Make sure flag args are lists so we can mess with them.
547 mem_flags = makeList(mem_flags)
548 pf_flags = makeList(pf_flags)
549 inst_flags = makeList(inst_flags)
550
551 pf_mem_flags = mem_flags + pf_flags + ['NO_FAULT']
551 pf_mem_flags = mem_flags + pf_flags + ['PREFETCH']
552 pf_inst_flags = inst_flags + ['IsMemRef', 'IsLoad',
553 'IsDataPrefetch', 'MemReadOp']
554
555 (pf_header_output, pf_decoder_output, _, pf_exec_output) = \
556 LoadStoreBase(name, Name + 'Prefetch', ea_code,
557 'xc->prefetch(EA, memAccessFlags);',
558 pf_mem_flags, pf_inst_flags, exec_template_base = 'Misc')
559

--- 32 unchanged lines hidden ---
552 pf_inst_flags = inst_flags + ['IsMemRef', 'IsLoad',
553 'IsDataPrefetch', 'MemReadOp']
554
555 (pf_header_output, pf_decoder_output, _, pf_exec_output) = \
556 LoadStoreBase(name, Name + 'Prefetch', ea_code,
557 'xc->prefetch(EA, memAccessFlags);',
558 pf_mem_flags, pf_inst_flags, exec_template_base = 'Misc')
559

--- 32 unchanged lines hidden ---