arm.isa (7401:9b873c0357b8) | arm.isa (7407:70f65d4c7fe3) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 134 unchanged lines hidden (view full) --- 143 0xa, 0xb: ExtensionRegLoadStore::extensionRegLoadStore(); 144 } 145 0x7: decode OPCODE_24 { 146 0: decode OPCODE_4 { 147 0: decode CPNUM { 148 0xa, 0xb: VfpData::vfpData(); 149 } // CPNUM 150 1: decode CPNUM { // 27-24=1110,4 ==1 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 134 unchanged lines hidden (view full) --- 143 0xa, 0xb: ExtensionRegLoadStore::extensionRegLoadStore(); 144 } 145 0x7: decode OPCODE_24 { 146 0: decode OPCODE_4 { 147 0: decode CPNUM { 148 0xa, 0xb: VfpData::vfpData(); 149 } // CPNUM 150 1: decode CPNUM { // 27-24=1110,4 ==1 |
151 1: decode OPCODE_15_12 { 152 format FloatOp { 153 0xf: decode OPCODE_23_21 { 154 format FloatCmp { 155 0x4: cmf({{ Fn.df }}, {{ Fm.df }}); 156 0x5: cnf({{ Fn.df }}, {{ -Fm.df }}); 157 0x6: cmfe({{ Fn.df }}, {{ Fm.df}}); 158 0x7: cnfe({{ Fn.df }}, {{ -Fm.df}}); 159 } 160 } 161 default: decode OPCODE_23_20 { 162 0x0: decode OPCODE_7 { 163 0: flts({{ Fn.sf = (float) Rd.sw; }}); 164 1: fltd({{ Fn.df = (double) Rd.sw; }}); 165 } 166 0x1: decode OPCODE_7 { 167 0: fixs({{ Rd = (uint32_t) Fm.sf; }}); 168 1: fixd({{ Rd = (uint32_t) Fm.df; }}); 169 } 170 0x2: wfs({{ Fpsr = Rd; }}); 171 0x3: rfs({{ Rd = Fpsr; }}); 172 0x4: FailUnimpl::wfc(); 173 0x5: FailUnimpl::rfc(); 174 } 175 } // format FloatOp 176 } | |
177 0xa, 0xb: ShortFpTransfer::shortFpTransfer(); 178 0xf: McrMrc15::mcrMrc15(); 179 } // CPNUM (OP4 == 1) 180 } //OPCODE_4 181 182 1: Svc::svc(); 183 } // OPCODE_24 184 185} 186} 187} 188 | 151 0xa, 0xb: ShortFpTransfer::shortFpTransfer(); 152 0xf: McrMrc15::mcrMrc15(); 153 } // CPNUM (OP4 == 1) 154 } //OPCODE_4 155 156 1: Svc::svc(); 157 } // OPCODE_24 158 159} 160} 161} 162 |