load_or_store_floating_point.py (9582:0632d2d1575c) load_or_store_floating_point.py (9893:5924b77fb8fc)
1# Copyright (c) 2007 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

--- 55 unchanged lines hidden (view full) ---

64 stfp st(0), seg, riprel, disp
65};
66
67def macroop FSTP_R {
68 movfp sti, st(0), spm=1
69};
70
71def macroop FSTP_M {
1# Copyright (c) 2007 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

--- 55 unchanged lines hidden (view full) ---

64 stfp st(0), seg, riprel, disp
65};
66
67def macroop FSTP_R {
68 movfp sti, st(0), spm=1
69};
70
71def macroop FSTP_M {
72 movfp ufp1, st(0), spm=1
72 movfp ufp1, st(0)
73 stfp ufp1, seg, sib, disp
73 stfp ufp1, seg, sib, disp
74 pop87
74};
75
76def macroop FSTP_P {
75};
76
77def macroop FSTP_P {
77 movfp ufp1, st(0), spm=1
78 movfp ufp1, st(0)
78 rdip t7
79 stfp ufp1, seg, riprel, disp
79 rdip t7
80 stfp ufp1, seg, riprel, disp
81 pop87
80};
81'''
82};
83'''