multiplication.py (5081:2ccce8600a9d) multiplication.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# MULPS
58# MULPD
59# MULSS
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# MULPS
58# MULPD
59# MULSS
60
61def macroop MULSD_R_R {
61def macroop MULSD_XMM_XMM {
62 mulfp xmml, xmml, xmmlm
63};
64
62 mulfp xmml, xmml, xmmlm
63};
64
65def macroop MULSD_R_M {
65def macroop MULSD_XMM_M {
66 ldfp ufp1, seg, sib, disp
67 mulfp xmml, xmml, ufp1
68};
69
66 ldfp ufp1, seg, sib, disp
67 mulfp xmml, xmml, ufp1
68};
69
70def macroop MULSD_R_P {
70def macroop MULSD_XMM_P {
71 rdip t7
72 ldfp ufp1, seg, riprel, disp
73 mulfp xmml, xmml, ufp1
74};
75'''
71 rdip t7
72 ldfp ufp1, seg, riprel, disp
73 mulfp xmml, xmml, ufp1
74};
75'''