]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Consolidate and update information about dependencies of
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 22 Apr 2012 02:48:20 +0000 (02:48 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 22 Apr 2012 02:48:20 +0000 (02:48 +0000)
VG_(machine_get_hwcaps) for all architectures in pub_core_machine.h
and avoid double maintenance.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12532

coregrind/m_machine.c
coregrind/pub_core_machine.h

index 3f30a0626c68fe227e3b88797676d16f6f7c3e21..bdceb58db94a884785e6e842f1be3306f86528c5 100644 (file)
@@ -356,35 +356,7 @@ SizeT VG_(thread_get_altstack_size)(ThreadId tid)
    (2) from the AT_SYSINFO entries the kernel gave us (ppc32 cache
    line size).  It's a bit nasty in the sense that there's no obvious
    way to stop uses of some of this info before it's ready to go.
-
-   Current dependencies are:
-
-   x86:   initially:  call VG_(machine_get_hwcaps)
-
-          then safe to use VG_(machine_get_VexArchInfo) 
-                       and VG_(machine_x86_have_mxcsr)
-   -------------
-   amd64: initially:  call VG_(machine_get_hwcaps)
-
-          then safe to use VG_(machine_get_VexArchInfo) 
-   -------------
-   ppc32: initially:  call VG_(machine_get_hwcaps)
-                      call VG_(machine_ppc32_set_clszB)
-
-          then safe to use VG_(machine_get_VexArchInfo) 
-                       and VG_(machine_ppc32_has_FP)
-                       and VG_(machine_ppc32_has_VMX)
-   -------------
-   ppc64: initially:  call VG_(machine_get_hwcaps)
-                      call VG_(machine_ppc64_set_clszB)
-
-          then safe to use VG_(machine_get_VexArchInfo) 
-                       and VG_(machine_ppc64_has_VMX)
-
-   -------------
-   s390x: initially:  call VG_(machine_get_hwcaps)
-
-          then safe to use VG_(machine_get_VexArchInfo)
+   See pub_core_machine.h for more information about that.
 
    VG_(machine_get_hwcaps) may use signals (although it attempts to
    leave signal state unchanged) and therefore should only be
index 6f15be5385c235f28abc68d57868a506085b257e..b76f395f9ba820a52c518d1dbae026c0822f407d 100644 (file)
@@ -169,6 +169,10 @@ void VG_(get_UnwindStartRegs) ( /*OUT*/UnwindStartRegs* regs,
                       call VG_(machine_arm_set_has_NEON)
 
           then safe to use VG_(machine_get_VexArchInfo) 
+   -------------
+   s390x: initially:  call VG_(machine_get_hwcaps)
+
+          then safe to use VG_(machine_get_VexArchInfo)
 
    VG_(machine_get_hwcaps) may use signals (although it attempts to
    leave signal state unchanged) and therefore should only be