segmentation.py (8290:3c628a51f6e1) | segmentation.py (10959:30c700ee0d47) |
---|---|
1# Copyright (c) 2007 The Hewlett-Packard Development Company | 1# Copyright (c) 2007 The Hewlett-Packard Development Company |
2# Copyright (c) 2012-2013 AMD |
|
2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license 9# terms below provided that you ensure that this notice is replicated --- 63 unchanged lines hidden (view full) --- 73 .serializing 74 .adjust_env maxOsz 75 76 # Get the limit 77 ld t1, seg, sib, disp, dataSize=2 78 # Get the base 79 ld t2, seg, sib, 'adjustedDisp + 2', dataSize=4 80 zexti t2, t2, 23, dataSize=8 | 3# All rights reserved. 4# 5# The license below extends only to copyright in the software and shall 6# not be construed as granting a license to any other intellectual 7# property including but not limited to intellectual property relating 8# to a hardware implementation of the functionality of the software 9# licensed hereunder. You may use the software subject to the license 10# terms below provided that you ensure that this notice is replicated --- 63 unchanged lines hidden (view full) --- 74 .serializing 75 .adjust_env maxOsz 76 77 # Get the limit 78 ld t1, seg, sib, disp, dataSize=2 79 # Get the base 80 ld t2, seg, sib, 'adjustedDisp + 2', dataSize=4 81 zexti t2, t2, 23, dataSize=8 |
81 wrbase tsg, t2 | 82 wrbase tsg, t2, dataSize=8 |
82 wrlimit tsg, t1 83}; 84 85def macroop LGDT_16_P 86{ 87 .serializing 88 .adjust_env maxOsz 89 --- 44 unchanged lines hidden (view full) --- 134 .serializing 135 .adjust_env maxOsz 136 137 # Get the limit 138 ld t1, seg, sib, disp, dataSize=2 139 # Get the base 140 ld t2, seg, sib, 'adjustedDisp + 2', dataSize=4 141 zexti t2, t2, 23, dataSize=8 | 83 wrlimit tsg, t1 84}; 85 86def macroop LGDT_16_P 87{ 88 .serializing 89 .adjust_env maxOsz 90 --- 44 unchanged lines hidden (view full) --- 135 .serializing 136 .adjust_env maxOsz 137 138 # Get the limit 139 ld t1, seg, sib, disp, dataSize=2 140 # Get the base 141 ld t2, seg, sib, 'adjustedDisp + 2', dataSize=4 142 zexti t2, t2, 23, dataSize=8 |
142 wrbase idtr, t2 | 143 wrbase idtr, t2, dataSize=8 |
143 wrlimit idtr, t1 144}; 145 146def macroop LIDT_16_P 147{ 148 .serializing 149 .adjust_env maxOsz 150 --- 126 unchanged lines hidden --- | 144 wrlimit idtr, t1 145}; 146 147def macroop LIDT_16_P 148{ 149 .serializing 150 .adjust_env maxOsz 151 --- 126 unchanged lines hidden --- |