Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Should restore FPU state on interpreter re-entry. This test case is from Xi Yang; it affects x86 HotSpot only, x64 is not affected.
$ export JAVA_HOME=~/sdk/jdk1.7.0_09_32
$ $JAVA_HOME/bin/java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)
$ gcc -m32 -shared -fPIC -I$JAVA_HOME/include -I$JAVA_HOME/include/linux hello.c -o libhello.so
$ $JAVA_HOME/bin/java -Djava.library.path=. Hello
I am main
I mmmmmmmmmmmmmmmmmmmmmmmmm java Helo world
dummy is 0
Double a is NaN
$ export JAVA_HOME=~/sdk/jdk1.7.0_09
$ $JAVA_HOME/bin/java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
$ gcc -m64 -shared -fPIC -I$JAVA_HOME/include -I$JAVA_HOME/include/linux hello.c -o libhello.so
$ $JAVA_HOME/bin/java -Djava.library.path=. Hello I am main
I mmmmmmmmmmmmmmmmmmmmmmmmm java Helo world
dummy is 0
Double a is 100.0
$
kmo@ubuntu:~/experiment/hs_fpu_bug
$ $JAVA_HOME/bin/java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
OpenJDK Server VM (build 23.6-b04-internal-fastdebug, mixed mode)
kmo@ubuntu:~/experiment/hs_fpu_bug
$ $JAVA_HOME/bin/java -XX:+VerifyFPU -Djava.library.path=. Hello
I am main
I mmmmmmmmmmmmmmmmmmmmmmmmm java Helo world
dummy is 0
generate_return_entry_for compiled: 0 stack elements expected but found 8
--------------------------------------------------
rax, = 00000246 582
rbx, = f6060ed8 -167375144
rcx = 0000000b 11
rdx = f6060fe8 -167374872
rdi = aef528b8 -1359664968
rsi = f6061008 -167374840
rbp, = f6060fe4 -167374876
rsp = aef528b8 -1359664968
flgs = f2e91063 flags = ---Z--C
* r0 = ST0 = +0000.0000000000000000 zero
r1 = ST1 = +0000.0000000000000000 zero
r2 = ST2 = +0000.0000000000000000 zero
r3 = ST3 = +0000.0000000000000000 zero
r4 = ST4 = +4005.c800258000000000 valid
r5 = ST5 = +3fff.8000180000000000 valid
r6 = ST6 = -c01e.8000000000000000 valid
r7 = ST7 = +400d.bd44000000000000 valid
ctrl = 027f masks = PUOZDI, round near, 53 bits
stat = 0122 flags = --P---D-, cc = ---0, top = 0
tags = 0055
--------------------------------------------------
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.cpp:9006
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/kmo/build/hsx23.6/src/cpu/x86/vm/assembler_x86.cpp:9006), pid=22077, tid=4127595328
# assert(false) failed: error
#
# JRE version: 7.0_09-b05
# Java VM: OpenJDK Server VM (23.6-b04-internal-fastdebug mixed mode linux-x86 )
# Core dump written. Default location: /home/kmo/experiment/hs_fpu_bug/core or core.22077
#
# An error report file with more information is saved as:
# /home/kmo/experiment/hs_fpu_bug/hs_err_pid22077.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 4127595328
Dumping core ...
Aborted (core dumped)
kmo@ubuntu:~/experiment/hs_fpu_bug
$
#include <jni.h>
#include <stdio.h>
JNIEXPORT void JNICALL
Java_Hello_abc(JNIEnv *env, jclass cls) {
printf("I mmmmmmmmmmmmmmmmmmmmmmmmm java Helo world\n");
unsigned int dummy;
asm volatile("movd %%mm0, %0\n":"=r"(dummy));
printf("dummy is %x\n", dummy);
}
public class Hello {
private static native void abc();
public static void main(String[] args) {
System.out.println("I am main");
System.loadLibrary("hello");
abc();
long a = 100;
double b = (double)a;
System.out.println("Double a is " + b);
}
}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/kmo/build/hsx23.6/src/cpu/x86/vm/assembler_x86.cpp:9006), pid=22077, tid=4127595328
# assert(false) failed: error
#
# JRE version: 7.0_09-b05
# Java VM: OpenJDK Server VM (23.6-b04-internal-fastdebug mixed mode linux-x86 )
# Core dump written. Default location: /home/kmo/experiment/hs_fpu_bug/core or core.22077
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0xf5f08000): JavaThread "main" [_thread_in_Java, id=22078, stack(0xf6011000,0xf6062000)]
Stack: [0xf6011000,0xf6062000]
[error occurred during error reporting (printing stack bounds), id 0xe0000000]
[error occurred during error reporting (printing native stack), id 0xe0000000]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0xaa64c800 JavaThread "Service Thread" daemon [_thread_blocked, id=22089, stack(0xaa52e000,0xaa57f000)]
0xaa64a000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=22088, stack(0xaa57f000,0xaa600000)]
0xaa647c00 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=22087, stack(0xaa72e000,0xaa7af000)]
0xaa645c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=22086, stack(0xaa7af000,0xaa800000)]
0xaacddc00 JavaThread "Finalizer" daemon [_thread_blocked, id=22085, stack(0xae42e000,0xae47f000)]
0xaacdb800 JavaThread "Reference Handler" daemon [_thread_blocked, id=22084, stack(0xae706000,0xae757000)]
=>0xf5f08000 JavaThread "main" [_thread_in_Java, id=22078, stack(0xf6011000,0xf6062000)]
Other Threads:
0xaacd1800 VMThread [stack: 0xaad78000,0xaadf9000] [id=22083]
0xaa64f400 WatcherThread [stack: 0xaa4ad000,0xaa52e000] [id=22090]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 19136K, used 329K [0xdd870000, 0xdedc0000, 0xf2dc0000)
eden space 16448K, 2% used [0xdd870000,0xdd8c2448,0xde880000)
from space 2688K, 0% used [0xdeb20000,0xdeb20000,0xdedc0000)
to space 2688K, 0% used [0xde880000,0xde880000,0xdeb20000)
ParOldGen total 43712K, used 0K [0xb2dc0000, 0xb5870000, 0xdd870000)
object space 43712K, 0% used [0xb2dc0000,0xb2dc0000,0xb5870000)
PSPermGen total 16384K, used 1613K [0xaedc0000, 0xafdc0000, 0xb2dc0000)
object space 16384K, 9% used [0xaedc0000,0xaef53448,0xafdc0000)
Card table byte_map: [0xaeb9f000,0xaedc0000] byte_map_base: 0xae628200
Polling page: 0xf7757000
Code Cache [0xf2e8d000, 0xf30cd000, 0xf5e8d000)
total_blobs=87 nmethods=0 adapters=63 free_code_cache=48355Kb largest_free_block=49516480
Compilation events (0 events):
No events
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (2 events):
Event: 0.080 Thread 0xf5f08000 Threw 0xdd876058 at /home/kmo/build/hsx23.6/src/share/vm/prims/jni.cpp:3994
Event: 0.144 Thread 0xf5f08000 Threw 0xdd8b3a78 at /home/kmo/build/hsx23.6/src/share/vm/prims/jvm.cpp:1166
Events (10 events):
Event: 0.150 loading class 0xaa658d58
Event: 0.150 loading class 0xaa658d58 done
Event: 0.150 loading class 0xaa658e80
Event: 0.150 loading class 0xaa658e80 done
Event: 0.150 loading class 0xaacd4140
Event: 0.150 loading class 0xaacd4140 done
Event: 0.151 loading class 0xf5f68238
Event: 0.151 loading class 0xf5f68238 done
Event: 0.152 loading class 0xf5f68170
Event: 0.152 loading class 0xf5f68170 done
Dynamic libraries:
08048000-08049000 r-xp 00000000 07:00 1221330 /home/kmo/testjdk/hsx23_32/bin/java
08049000-0804a000 rw-p 00000000 07:00 1221330 /home/kmo/testjdk/hsx23_32/bin/java
09f8b000-09fac000 rw-p 00000000 00:00 0 [heap]
aa4ad000-aa4ae000 ---p 00000000 00:00 0
aa4ae000-aa52e000 rw-p 00000000 00:00 0
aa52e000-aa531000 ---p 00000000 00:00 0
aa531000-aa57f000 rw-p 00000000 00:00 0
aa57f000-aa582000 ---p 00000000 00:00 0
aa582000-aa600000 rw-p 00000000 00:00 0
aa600000-aa664000 rw-p 00000000 00:00 0
aa664000-aa700000 ---p 00000000 00:00 0
aa72e000-aa731000 ---p 00000000 00:00 0
aa731000-aa7af000 rw-p 00000000 00:00 0
aa7af000-aa7b2000 ---p 00000000 00:00 0
aa7b2000-aa800000 rw-p 00000000 00:00 0
aa800000-aaa00000 r--p 00000000 07:00 268600 /usr/lib/locale/locale-archive
aaa00000-aaa21000 rw-p 00000000 00:00 0
aaa21000-aab00000 ---p 00000000 00:00 0
aab00000-aab21000 rw-p 00000000 00:00 0
aab21000-aac00000 ---p 00000000 00:00 0
aac00000-aad00000 rw-p 00000000 00:00 0
aad78000-aad79000 ---p 00000000 00:00 0
aad79000-aae44000 rw-p 00000000 00:00 0
aae44000-ab000000 r--s 039da000 07:00 1221342 /home/kmo/testjdk/hsx23_32/jre/lib/rt.jar
ab000000-ae300000 rw-p 00000000 00:00 0
ae300000-ae321000 rw-p 00000000 00:00 0
ae321000-ae400000 ---p 00000000 00:00 0
ae42e000-ae431000 ---p 00000000 00:00 0
ae431000-ae47f000 rw-p 00000000 00:00 0
ae47f000-ae480000 ---p 00000000 00:00 0
ae480000-ae500000 rw-p 00000000 00:00 0
ae500000-ae521000 rw-p 00000000 00:00 0
ae521000-ae600000 ---p 00000000 00:00 0
ae600000-ae621000 rw-p 00000000 00:00 0
ae621000-ae700000 ---p 00000000 00:00 0
ae706000-ae709000 ---p 00000000 00:00 0
ae709000-ae77f000 rw-p 00000000 00:00 0
ae77f000-ae780000 ---p 00000000 00:00 0
ae780000-ae800000 rw-p 00000000 00:00 0
ae800000-ae821000 rw-p 00000000 00:00 0
ae821000-ae900000 ---p 00000000 00:00 0
ae927000-ae928000 ---p 00000000 00:00 0
ae928000-ae9a8000 rw-p 00000000 00:00 0
ae9a8000-ae9a9000 ---p 00000000 00:00 0
ae9a9000-aea31000 rw-p 00000000 00:00 0
aea31000-aea49000 rw-p 00000000 00:00 0
aea49000-aea5f000 rw-p 00000000 00:00 0
aea5f000-aeb9f000 rw-p 00000000 00:00 0
aeb9f000-aeba7000 rw-p 00000000 00:00 0
aeba7000-aebbf000 rw-p 00000000 00:00 0
aebbf000-aebd5000 rw-p 00000000 00:00 0
aebd5000-aed14000 rw-p 00000000 00:00 0
aed14000-aed1f000 rw-p 00000000 00:00 0
aed1f000-aedbf000 rw-p 00000000 00:00 0
aedbf000-afdc0000 rw-p 00000000 00:00 0
afdc0000-b2dc0000 rw-p 00000000 00:00 0
b2dc0000-b5870000 rw-p 00000000 00:00 0
b5870000-dd870000 rw-p 00000000 00:00 0
dd870000-dedc0000 rw-p 00000000 00:00 0
dedc0000-f2dc0000 rw-p 00000000 00:00 0
f2dcd000-f2dd6000 rw-p 00000000 00:00 0
f2dd6000-f2e8d000 rw-p 00000000 00:00 0
f2e8d000-f30cd000 rwxp 00000000 00:00 0
f30cd000-f5e8d000 rw-p 00000000 00:00 0
f5e8d000-f5e98000 r-xp 00000000 07:00 40032 /lib/i386-linux-gnu/libnss_files-2.15.so
f5e98000-f5e99000 r--p 0000a000 07:00 40032 /lib/i386-linux-gnu/libnss_files-2.15.so
f5e99000-f5e9a000 rw-p 0000b000 07:00 40032 /lib/i386-linux-gnu/libnss_files-2.15.so
f5e9a000-f5ea4000 r-xp 00000000 07:00 40036 /lib/i386-linux-gnu/libnss_nis-2.15.so
f5ea4000-f5ea5000 r--p 00009000 07:00 40036 /lib/i386-linux-gnu/libnss_nis-2.15.so
f5ea5000-f5ea6000 rw-p 0000a000 07:00 40036 /lib/i386-linux-gnu/libnss_nis-2.15.so
f5ea6000-f5ebc000 r-xp 00000000 07:00 40048 /lib/i386-linux-gnu/libnsl-2.15.so
f5ebc000-f5ebd000 r--p 00015000 07:00 40048 /lib/i386-linux-gnu/libnsl-2.15.so
f5ebd000-f5ebe000 rw-p 00016000 07:00 40048 /lib/i386-linux-gnu/libnsl-2.15.so
f5ebe000-f5ec0000 rw-p 00000000 00:00 0
f5ec3000-f5ec4000 rw-p 00000000 00:00 0
f5ec4000-f5edb000 r-xp 00000000 07:00 40349 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libzip.so
f5edb000-f5edc000 rw-p 00017000 07:00 40349 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libzip.so
f5edc000-f5eff000 r-xp 00000000 07:00 40317 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libjava.so
f5eff000-f5f00000 rw-p 00023000 07:00 40317 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libjava.so
f5f00000-f5ff5000 rw-p 00000000 00:00 0
f5ff5000-f6000000 ---p 00000000 00:00 0
f6000000-f6008000 rw-s 00000000 07:00 1221577 /tmp/hsperfdata_kmo/22077
f6008000-f600f000 r-xp 00000000 07:00 40035 /lib/i386-linux-gnu/librt-2.15.so
f600f000-f6010000 r--p 00006000 07:00 40035 /lib/i386-linux-gnu/librt-2.15.so
f6010000-f6011000 rw-p 00007000 07:00 40035 /lib/i386-linux-gnu/librt-2.15.so
f6011000-f6014000 ---p 00000000 00:00 0
f6014000-f6062000 rw-p 00000000 00:00 0
f6062000-f608c000 r-xp 00000000 07:00 40039 /lib/i386-linux-gnu/libm-2.15.so
f608c000-f608d000 r--p 00029000 07:00 40039 /lib/i386-linux-gnu/libm-2.15.so
f608d000-f608e000 rw-p 0002a000 07:00 40039 /lib/i386-linux-gnu/libm-2.15.so
f608e000-f7096000 r-xp 00000000 07:00 40294 /home/kmo/testjdk/hsx23_32/jre/lib/i386/server/libjvm.so
f7096000-f70db000 r--p 01007000 07:00 40294 /home/kmo/testjdk/hsx23_32/jre/lib/i386/server/libjvm.so
f70db000-f70f3000 rw-p 0104c000 07:00 40294 /home/kmo/testjdk/hsx23_32/jre/lib/i386/server/libjvm.so
f70f3000-f7569000 rw-p 00000000 00:00 0
f7569000-f770c000 r-xp 00000000 07:00 40028 /lib/i386-linux-gnu/libc-2.15.so
f770c000-f770d000 ---p 001a3000 07:00 40028 /lib/i386-linux-gnu/libc-2.15.so
f770d000-f770f000 r--p 001a3000 07:00 40028 /lib/i386-linux-gnu/libc-2.15.so
f770f000-f7710000 rw-p 001a5000 07:00 40028 /lib/i386-linux-gnu/libc-2.15.so
f7710000-f7713000 rw-p 00000000 00:00 0
f7713000-f7716000 r-xp 00000000 07:00 40043 /lib/i386-linux-gnu/libdl-2.15.so
f7716000-f7717000 r--p 00002000 07:00 40043 /lib/i386-linux-gnu/libdl-2.15.so
f7717000-f7718000 rw-p 00003000 07:00 40043 /lib/i386-linux-gnu/libdl-2.15.so
f7718000-f7719000 rw-p 00000000 00:00 0
f7719000-f772c000 r-xp 00000000 07:00 40289 /home/kmo/testjdk/hsx23_32/jre/lib/i386/jli/libjli.so
f772c000-f772d000 rw-p 00012000 07:00 40289 /home/kmo/testjdk/hsx23_32/jre/lib/i386/jli/libjli.so
f772d000-f7744000 r-xp 00000000 07:00 40037 /lib/i386-linux-gnu/libpthread-2.15.so
f7744000-f7745000 r--p 00016000 07:00 40037 /lib/i386-linux-gnu/libpthread-2.15.so
f7745000-f7746000 rw-p 00017000 07:00 40037 /lib/i386-linux-gnu/libpthread-2.15.so
f7746000-f7748000 rw-p 00000000 00:00 0
f7748000-f7749000 r-xp 00000000 07:00 1102525 /home/kmo/experiment/hs_fpu_bug/libhello.so
f7749000-f774a000 r--p 00000000 07:00 1102525 /home/kmo/experiment/hs_fpu_bug/libhello.so
f774a000-f774b000 rw-p 00001000 07:00 1102525 /home/kmo/experiment/hs_fpu_bug/libhello.so
f774b000-f774c000 r--p 0046b000 07:00 268600 /usr/lib/locale/locale-archive
f774c000-f7753000 r-xp 00000000 07:00 40030 /lib/i386-linux-gnu/libnss_compat-2.15.so
f7753000-f7754000 r--p 00006000 07:00 40030 /lib/i386-linux-gnu/libnss_compat-2.15.so
f7754000-f7755000 rw-p 00007000 07:00 40030 /lib/i386-linux-gnu/libnss_compat-2.15.so
f7755000-f7757000 rw-p 00000000 00:00 0
f7757000-f7758000 r--p 00000000 00:00 0
f7758000-f7763000 r-xp 00000000 07:00 40303 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libverify.so
f7763000-f7764000 rw-p 0000b000 07:00 40303 /home/kmo/testjdk/hsx23_32/jre/lib/i386/libverify.so
f7764000-f7766000 rw-p 00000000 00:00 0
f7766000-f7767000 r-xp 00000000 00:00 0 [vdso]
f7767000-f7787000 r-xp 00000000 07:00 40040 /lib/i386-linux-gnu/ld-2.15.so
f7787000-f7788000 r--p 0001f000 07:00 40040 /lib/i386-linux-gnu/ld-2.15.so
f7788000-f7789000 rw-p 00020000 07:00 40040 /lib/i386-linux-gnu/ld-2.15.so
ffae7000-ffb08000 rw-p 00000000 00:00 0 [stack]
VM Arguments:
jvm_args: -XX:+VerifyFPU -Djava.library.path=.
java_command: Hello
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/home/kmo/testjdk/hsx23_32
PATH=/home/kmo/sdk/jdk1.7.0_09/bin:/home/kmo/sdk/groovy-2.0.1/bin:/home/kmo/sdk/apache-ant-1.8.4/bin:/home/kmo/bin:/home/kmo/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/kmo/.rvm/bin
SHELL=/bin/bash
DISPLAY=:0
Signal Handlers:
SIGSEGV: [libjvm.so+0xcc95f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0xcc95f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0xa81190], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0xa81190], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0xa81190], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0xa81190], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0xa82030], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0xa822b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0xa822b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0xa822b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0xa822b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:wheezy/sid
uname:Linux 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:29:15 UTC 2012 x86_64
libc:glibc 2.15 NPTL 2.15
rlimit: STACK 8192k, CORE infinity, NPROC 62822, NOFILE 4096, AS infinity
load average:0.09 0.06 0.13
/proc/meminfo:
MemTotal: 8058840 kB
MemFree: 140756 kB
Buffers: 2216840 kB
Cached: 4775712 kB
SwapCached: 40 kB
Active: 3110408 kB
Inactive: 4451924 kB
Active(anon): 634916 kB
Inactive(anon): 307456 kB
Active(file): 2475492 kB
Inactive(file): 4144468 kB
Unevictable: 1504 kB
Mlocked: 0 kB
SwapTotal: 262140 kB
SwapFree: 261988 kB
Dirty: 16 kB
Writeback: 0 kB
AnonPages: 571868 kB
Mapped: 130176 kB
Shmem: 370856 kB
Slab: 208892 kB
SReclaimable: 179816 kB
SUnreclaim: 29076 kB
KernelStack: 2944 kB
PageTables: 24924 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4291560 kB
Committed_AS: 2966040 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 368164 kB
VmallocChunk: 34359362968 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 110592 kB
DirectMap2M: 8169472 kB
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, ht, tsc, tscinvbit
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
stepping : 7
microcode : 0x23
cpu MHz : 1400.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4984.33
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
stepping : 7
microcode : 0x23
cpu MHz : 800.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4983.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
stepping : 7
microcode : 0x23
cpu MHz : 2200.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4983.63
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
stepping : 7
microcode : 0x23
cpu MHz : 1600.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4983.64
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 8058840k(140756k free), swap 262140k(261988k free)
vm_info: OpenJDK Server VM (23.6-b04-internal-fastdebug) for linux-x86 JRE (1.7.0), built on Nov 27 2012 00:28:27 by "kmo" with gcc 4.6.3
time: Tue Nov 27 01:25:49 2012
elapsed time: 0 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment