save_and_restore_control_and_status.py (6598:82d1d4d217e4) save_and_restore_control_and_status.py (6599:a578850e7524)
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

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

59 st t1, seg, sib, disp
60};
61
62def macroop STMXCSR_P {
63 rdval t1, "InstRegIndex(MISCREG_MXCSR)"
64 rdip t7
65 st t1, seg, riprel, disp
66};
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

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

59 st t1, seg, sib, disp
60};
61
62def macroop STMXCSR_P {
63 rdval t1, "InstRegIndex(MISCREG_MXCSR)"
64 rdip t7
65 st t1, seg, riprel, disp
66};
67# LDMXCSR
67
68def macroop LDMXCSR_M {
69 ld t1, seg, sib, disp
70 wrval "InstRegIndex(MISCREG_MXCSR)", t1
71};
72
73def macroop LDMXCSR_P {
74 rdip t7
75 ld t1, seg, riprel, disp
76 wrval "InstRegIndex(MISCREG_MXCSR)", t1
77};
68'''
78'''