Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/register_sparc.hpp @ 10997:46c544b8fbfc
8008407: remove SPARC V8 support
Summary: Removed most of the SPARC V8 instructions
Reviewed-by: kvn, twisti
author | morris |
---|---|
date | Fri, 07 Jun 2013 16:46:37 -0700 |
parents | f95d63e2154a |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10996:ea60d1de6735 | 10997:46c544b8fbfc |
---|---|
247 assert(c < 32, "bad single float register"); | 247 assert(c < 32, "bad single float register"); |
248 return c; | 248 return c; |
249 | 249 |
250 case D: | 250 case D: |
251 assert(c < 64 && (c & 1) == 0, "bad double float register"); | 251 assert(c < 64 && (c & 1) == 0, "bad double float register"); |
252 assert(c < 32 || VM_Version::v9_instructions_work(), "V9 float work only on V9 platform"); | |
253 return (c & 0x1e) | ((c & 0x20) >> 5); | 252 return (c & 0x1e) | ((c & 0x20) >> 5); |
254 | 253 |
255 case Q: | 254 case Q: |
256 assert(c < 64 && (c & 3) == 0, "bad quad float register"); | 255 assert(c < 64 && (c & 3) == 0, "bad quad float register"); |
257 assert(c < 32 || VM_Version::v9_instructions_work(), "V9 float work only on V9 platform"); | |
258 return (c & 0x1c) | ((c & 0x20) >> 5); | 256 return (c & 0x1c) | ((c & 0x20) >> 5); |
259 } | 257 } |
260 ShouldNotReachHere(); | 258 ShouldNotReachHere(); |
261 return -1; | 259 return -1; |
262 } | 260 } |