convert_floating_point_to_gpr_integer.py (5081:2ccce8600a9d) | convert_floating_point_to_gpr_integer.py (6518:1ad4a7774b3c) |
---|---|
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 --- 44 unchanged lines hidden (view full) --- 53# 54# Authors: Gabe Black 55 56microcode = ''' 57# CVTSS2SI 58# CVTSD2SI 59# CVTTSS2SI 60 | 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 --- 44 unchanged lines hidden (view full) --- 53# 54# Authors: Gabe Black 55 56microcode = ''' 57# CVTSS2SI 58# CVTSD2SI 59# CVTTSS2SI 60 |
61def macroop CVTTSD2SI_R_R { | 61def macroop CVTTSD2SI_R_XMM { |
62 cvtf_d2i reg, xmmlm 63}; 64 65def macroop CVTTSD2SI_R_M { 66 ldfp ufp1, seg, sib, disp 67 cvtf_d2i reg, ufp1 68}; 69 70def macroop CVTTSD2SI_R_P { 71 rdip t7 72 ldfp ufp1, seg, riprel, disp 73 cvtf_d2i reg, ufp1 74}; 75''' | 62 cvtf_d2i reg, xmmlm 63}; 64 65def macroop CVTTSD2SI_R_M { 66 ldfp ufp1, seg, sib, disp 67 cvtf_d2i reg, ufp1 68}; 69 70def macroop CVTTSD2SI_R_P { 71 rdip t7 72 ldfp ufp1, seg, riprel, disp 73 cvtf_d2i reg, ufp1 74}; 75''' |