__init__.py (5029:68c3f3be8c8a) | __init__.py (5081:2ccce8600a9d) |
---|---|
1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 39 unchanged lines hidden (view full) --- 48# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 | 1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 39 unchanged lines hidden (view full) --- 48# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 |
56categories = ["arithmetic", 57 "cache_and_memory_management", 58 "compare_and_test", 59 "control_transfer", 60 "data_conversion", 61 "data_transfer", 62 "flags", 63 "input_output", 64 "load_effective_address", 65 "load_segment_registers", 66 "logical", 67 "no_operation", 68 "processor_information", 69 "rotate_and_shift", 70 "semaphores", 71 "sse", 72 "string", 73 "system_calls", 74 "system"] | 56categories = ["general_purpose", 57 "simd128", 58 "simd64", 59 "system", 60 "x87"] |
75 76microcode = ''' 77# X86 microcode 78''' 79for category in categories: 80 exec "import %s as cat" % category 81 microcode += cat.microcode | 61 62microcode = ''' 63# X86 microcode 64''' 65for category in categories: 66 exec "import %s as cat" % category 67 microcode += cat.microcode |