1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 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 --- 36 unchanged lines hidden (view full) --- 45 dataSize=8, addressSize=8 46 mov rax, rax, t2, dataSize=4 47 srli t2, t2, 32, dataSize=8 48 mov rdx, rdx, t2, dataSize=4 49}; 50 51def macroop WRMSR 52{ |
53 .serialize_after |
54 mov t2, t2, rax, dataSize=4 55 slli t3, rdx, 32, dataSize=8 56 or t2, t2, t3, dataSize=8 57 st t2, intseg, [8, rcx, t0], "IntAddrPrefixMSR << 3", \ 58 dataSize=8, addressSize=8 59}; 60 61def macroop RDTSC 62{ 63 rdtsc t1 64 mov rax, rax, t1, dataSize=4 65 srli t1, t1, 32, dataSize=8 66 mov rdx, rdx, t1, dataSize=4 67}; 68''' |