StaticInstFlags.py (10934:5af8f40d8f2c) StaticInstFlags.py (10935:acd48ddd725f)
1# Copyright (c) 2003-2005 The Regents of The University of Michigan
2# Copyright (c) 2013 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

50class StaticInstFlags(Enum):
51 wrapper_name = 'StaticInstFlags'
52 wrapper_is_struct = True
53 enum_name = 'Flags'
54
55 vals = [
56 'IsNop', # Is a no-op (no effect at all).
57
1# Copyright (c) 2003-2005 The Regents of The University of Michigan
2# Copyright (c) 2013 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

50class StaticInstFlags(Enum):
51 wrapper_name = 'StaticInstFlags'
52 wrapper_is_struct = True
53 enum_name = 'Flags'
54
55 vals = [
56 'IsNop', # Is a no-op (no effect at all).
57
58 'IsInteger', # References scalar integer regs.
59 'IsFloating', # References scalar FP regs.
58 'IsInteger', # References integer regs.
59 'IsFloating', # References FP regs.
60 'IsCC', # References CC regs.
61
62 'IsMemRef', # References memory (load, store, or prefetch)
63 'IsLoad', # Reads from memory (load or prefetch).
64 'IsStore', # Writes to memory.
65 'IsStoreConditional', # Store conditional instruction.
66 'IsIndexed', # Accesses memory with an indexed address
67 # computation

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

103 'IsMicroop', # Is a microop
104 'IsDelayedCommit', # This microop doesn't commit right away
105 'IsLastMicroop', # This microop ends a microop sequence
106 'IsFirstMicroop', # This microop begins a microop sequence
107 # This flag doesn't do anything yet
108 'IsMicroBranch', # This microop branches within the microcode for
109 # a macroop
110 'IsDspOp',
60 'IsCC', # References CC regs.
61
62 'IsMemRef', # References memory (load, store, or prefetch)
63 'IsLoad', # Reads from memory (load or prefetch).
64 'IsStore', # Writes to memory.
65 'IsStoreConditional', # Store conditional instruction.
66 'IsIndexed', # Accesses memory with an indexed address
67 # computation

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

103 'IsMicroop', # Is a microop
104 'IsDelayedCommit', # This microop doesn't commit right away
105 'IsLastMicroop', # This microop ends a microop sequence
106 'IsFirstMicroop', # This microop begins a microop sequence
107 # This flag doesn't do anything yet
108 'IsMicroBranch', # This microop branches within the microcode for
109 # a macroop
110 'IsDspOp',
111 'IsSquashAfter', # Squash all uncommitted state after executed
112 'IsVector', # References vector register.
111 'IsSquashAfter' # Squash all uncommitted state after executed
113 ]
112 ]