addition.py (5081:2ccce8600a9d) addition.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# ADDPS
58# ADDPD
59# ADDSS
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# ADDPS
58# ADDPD
59# ADDSS
60
61def macroop ADDSD_R_R {
61def macroop ADDSD_XMM_XMM {
62 addfp xmml, xmml, xmmlm
63};
64
62 addfp xmml, xmml, xmmlm
63};
64
65def macroop ADDSD_R_M {
65def macroop ADDSD_XMM_M {
66 ldfp ufp1, seg, sib, disp
67 addfp xmml, xmml, ufp1
68};
69
66 ldfp ufp1, seg, sib, disp
67 addfp xmml, xmml, ufp1
68};
69
70def macroop ADDSD_R_P {
70def macroop ADDSD_XMM_P {
71 rdip t7
72 ldfp ufp1, seg, riprel, disp
73 addfp xmml, xmml, ufp1
74};
75'''
71 rdip t7
72 ldfp ufp1, seg, riprel, disp
73 addfp xmml, xmml, ufp1
74};
75'''