left_logical_shift.py (6584:5355f44912f6) | left_logical_shift.py (6707:0e5037cecaf7) |
---|---|
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 --- 108 unchanged lines hidden (view full) --- 117 msll xmml, xmml, ufp1, size=8, ext=0 118 msll xmmh, xmmh, ufp1, size=8, ext=0 119}; 120 121def macroop PSLLQ_XMM_I { 122 mslli xmml, xmml, imm, size=8, ext=0 123 mslli xmmh, xmmh, imm, size=8, ext=0 124}; | 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 --- 108 unchanged lines hidden (view full) --- 117 msll xmml, xmml, ufp1, size=8, ext=0 118 msll xmmh, xmmh, ufp1, size=8, ext=0 119}; 120 121def macroop PSLLQ_XMM_I { 122 mslli xmml, xmml, imm, size=8, ext=0 123 mslli xmmh, xmmh, imm, size=8, ext=0 124}; |
125 126def macroop PSLLDQ_XMM_I { 127 128 limm t2, 8 129 subi t1, t2, imm, flags=(ECF,), dataSize=1 130 br label("pslldq_less_8"), flags=(nCECF,) 131 132 # Greater than 8 133 134 limm t2, 16 135 subi t1, t2, imm, flags=(ECF,), dataSize=1 136 br label("pslldq_less_16"), flags=(nCECF,) 137 138 # Greater than 16 139 140 lfpimm xmml, 0 141 lfpimm xmmh, 0 142 br label("pslldq_end") 143 144pslldq_less_16: 145 146 # Between 8 and 16 147 148 mslli xmmh, xmml, "(IMMEDIATE-8)<<3", size=8, ext=0 149 lfpimm xmml, 0 150 br label("pslldq_end") 151 152pslldq_less_8: 153 154 # Less than 8 155 156 msrli ufp1, xmml, "(8-IMMEDIATE) << 3", size=8, ext=0 157 mslli xmmh, xmmh, "IMMEDIATE << 3", size=8, ext=0 158 mslli xmml, xmml, "IMMEDIATE << 3", size=8, ext=0 159 mor xmmh, xmmh, ufp1 160 161pslldq_end: 162 fault "NoFault" 163}; |
|
125''' | 164''' |
126# PSLLDQ | |