comparison src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp @ 588:ef3b3df478b9

Merge
author trims
date Wed, 25 Feb 2009 22:55:54 -0800
parents 22e09c0f4b47
children 98cb887364d3
comparison
equal deleted inserted replaced
572:1605bb4eb5a7 588:ef3b3df478b9
1 /* 1 /*
2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
297 sse_status = (*try_sse)() ? SSE_SUPPORTED : SSE_NOT_SUPPORTED; 297 sse_status = (*try_sse)() ? SSE_SUPPORTED : SSE_NOT_SUPPORTED;
298 } 298 }
299 299
300 } 300 }
301 301
302 #endif // AMD64
303
302 bool os::supports_sse() { 304 bool os::supports_sse() {
305 #ifdef AMD64
306 return true;
307 #else
303 if (sse_status == SSE_UNKNOWN) 308 if (sse_status == SSE_UNKNOWN)
304 check_for_sse_support(); 309 check_for_sse_support();
305 return sse_status == SSE_SUPPORTED; 310 return sse_status == SSE_SUPPORTED;
306 }
307
308 #endif // AMD64 311 #endif // AMD64
312 }
309 313
310 bool os::is_allocatable(size_t bytes) { 314 bool os::is_allocatable(size_t bytes) {
311 #ifdef AMD64 315 #ifdef AMD64
312 return true; 316 return true;
313 #else 317 #else