svn commit: r221287 - in projects/largeSMP: contrib/gcc contrib/top
lib/libmemstat share/mk sys/ufs/ffs
Attilio Rao
attilio at FreeBSD.org
Sun May 1 00:48:03 UTC 2011
Author: attilio
Date: Sun May 1 00:48:03 2011
New Revision: 221287
URL: http://svn.freebsd.org/changeset/base/221287
Log:
MFC @ r221286
Added:
projects/largeSMP/contrib/gcc/ChangeLog.gcc43
- copied unchanged from r221286, head/contrib/gcc/ChangeLog.gcc43
Modified:
projects/largeSMP/lib/libmemstat/memstat.h
projects/largeSMP/sys/ufs/ffs/ffs_vnops.c
Directory Properties:
projects/largeSMP/ (props changed)
projects/largeSMP/cddl/contrib/opensolaris/ (props changed)
projects/largeSMP/contrib/bind9/ (props changed)
projects/largeSMP/contrib/binutils/ (props changed)
projects/largeSMP/contrib/bzip2/ (props changed)
projects/largeSMP/contrib/dialog/ (props changed)
projects/largeSMP/contrib/ee/ (props changed)
projects/largeSMP/contrib/expat/ (props changed)
projects/largeSMP/contrib/file/ (props changed)
projects/largeSMP/contrib/gcc/ (props changed)
projects/largeSMP/contrib/gdb/ (props changed)
projects/largeSMP/contrib/gdtoa/ (props changed)
projects/largeSMP/contrib/gnu-sort/ (props changed)
projects/largeSMP/contrib/groff/ (props changed)
projects/largeSMP/contrib/less/ (props changed)
projects/largeSMP/contrib/libpcap/ (props changed)
projects/largeSMP/contrib/libstdc++/ (props changed)
projects/largeSMP/contrib/llvm/ (props changed)
projects/largeSMP/contrib/llvm/tools/clang/ (props changed)
projects/largeSMP/contrib/ncurses/ (props changed)
projects/largeSMP/contrib/netcat/ (props changed)
projects/largeSMP/contrib/ntp/ (props changed)
projects/largeSMP/contrib/one-true-awk/ (props changed)
projects/largeSMP/contrib/openbsm/ (props changed)
projects/largeSMP/contrib/openpam/ (props changed)
projects/largeSMP/contrib/pf/ (props changed)
projects/largeSMP/contrib/sendmail/ (props changed)
projects/largeSMP/contrib/tcpdump/ (props changed)
projects/largeSMP/contrib/tcsh/ (props changed)
projects/largeSMP/contrib/top/ (props changed)
projects/largeSMP/contrib/top/install-sh (props changed)
projects/largeSMP/contrib/tzcode/stdtime/ (props changed)
projects/largeSMP/contrib/tzcode/zic/ (props changed)
projects/largeSMP/contrib/tzdata/ (props changed)
projects/largeSMP/contrib/wpa/ (props changed)
projects/largeSMP/contrib/xz/ (props changed)
projects/largeSMP/crypto/openssh/ (props changed)
projects/largeSMP/crypto/openssl/ (props changed)
projects/largeSMP/gnu/lib/ (props changed)
projects/largeSMP/gnu/usr.bin/binutils/ (props changed)
projects/largeSMP/gnu/usr.bin/cc/cc_tools/ (props changed)
projects/largeSMP/gnu/usr.bin/gdb/ (props changed)
projects/largeSMP/lib/libc/ (props changed)
projects/largeSMP/lib/libc/stdtime/ (props changed)
projects/largeSMP/lib/libutil/ (props changed)
projects/largeSMP/lib/libz/ (props changed)
projects/largeSMP/sbin/ (props changed)
projects/largeSMP/sbin/ipfw/ (props changed)
projects/largeSMP/share/mk/bsd.arch.inc.mk (props changed)
projects/largeSMP/share/zoneinfo/ (props changed)
projects/largeSMP/sys/ (props changed)
projects/largeSMP/sys/amd64/include/xen/ (props changed)
projects/largeSMP/sys/boot/ (props changed)
projects/largeSMP/sys/boot/i386/efi/ (props changed)
projects/largeSMP/sys/boot/ia64/efi/ (props changed)
projects/largeSMP/sys/boot/ia64/ski/ (props changed)
projects/largeSMP/sys/boot/powerpc/boot1.chrp/ (props changed)
projects/largeSMP/sys/boot/powerpc/ofw/ (props changed)
projects/largeSMP/sys/cddl/contrib/opensolaris/ (props changed)
projects/largeSMP/sys/conf/ (props changed)
projects/largeSMP/sys/contrib/dev/acpica/ (props changed)
projects/largeSMP/sys/contrib/octeon-sdk/ (props changed)
projects/largeSMP/sys/contrib/pf/ (props changed)
projects/largeSMP/sys/contrib/x86emu/ (props changed)
projects/largeSMP/usr.bin/calendar/ (props changed)
projects/largeSMP/usr.bin/csup/ (props changed)
projects/largeSMP/usr.bin/procstat/ (props changed)
projects/largeSMP/usr.sbin/ndiscvt/ (props changed)
projects/largeSMP/usr.sbin/zic/ (props changed)
Copied: projects/largeSMP/contrib/gcc/ChangeLog.gcc43 (from r221286, head/contrib/gcc/ChangeLog.gcc43)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/largeSMP/contrib/gcc/ChangeLog.gcc43 Sun May 1 00:48:03 2011 (r221287, copy of r221286, head/contrib/gcc/ChangeLog.gcc43)
@@ -0,0 +1,163 @@
+2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal at amd.com> (r124339)
+
+ * config/i386/i386.c (override_options): Accept k8-sse3, opteron-sse3
+ and athlon64-sse3 as improved versions of k8, opteron and athlon64
+ with SSE3 instruction set support.
+ * doc/invoke.texi: Likewise.
+
+2007-04-07 H.J. Lu <hongjiu.lu at intel.com> (r123639)
+
+ * config/i386/i386.c (ix86_handle_option): Handle SSSE3.
+
+2007-02-08 Harsha Jagasia <harsha.jagasia at amd.com> (r121726)
+
+ * config/i386/xmmintrin.h: Make inclusion of emmintrin.h
+ conditional to __SSE2__.
+ (Entries below should have been added to first ChangeLog
+ entry for amdfam10 dated 2007-02-05)
+ * config/i386/emmintrin.h: Generate #error if __SSE2__ is not
+ defined.
+ * config/i386/pmmintrin.h: Generate #error if __SSE3__ is not
+ defined.
+ * config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not
+ defined.
+
+2007-02-07 Jakub Jelinek <jakub at redhat.com> (r121687)
+
+ * config/i386/i386.c (override_options): Set PTA_SSSE3 for core2.
+
+2007-01-17 Eric Christopher <echristo at apple.com> (r120846)
+
+ * config.gcc: Support core2 processor.
+
+2006-12-02 H.J. Lu <hongjiu.lu at intel.com> (r119454 - partial)
+
+ PR target/30040
+ * config/i386/driver-i386.c (bit_SSSE3): New.
+
+2006-11-18 Vladimir Makarov <vmakarov at redhat.com> (r118973)
+
+ * doc/invoke.texi (core2): Add item.
+
+ * config/i386/i386.h (TARGET_CORE2, TARGET_CPU_DEFAULT_core2): New
+ macros.
+ (TARGET_CPU_CPP_BUILTINS): Add code for core2.
+ (TARGET_CPU_DEFAULT_generic): Change value.
+ (TARGET_CPU_DEFAULT_NAMES): Add core2.
+ (processor_type): Add new constant PROCESSOR_CORE2.
+
+ * config/i386/i386.md (cpu): Add core2.
+
+ * config/i386/i386.c (core2_cost): New initialized variable.
+ (m_CORE2): New macro.
+ (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
+ x86_deep_branch, x86_partial_reg_stall, x86_use_simode_fiop,
+ x86_use_cltd, x86_promote_QImode, x86_sub_esp_4, x86_sub_esp_8,
+ x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves,
+ x86_partial_reg_dependency, x86_memory_mismatch_stall,
+ x86_accumulate_outgoing_args, x86_prologue_using_move,
+ x86_epilogue_using_move, x86_arch_always_fancy_math_387,
+ x86_sse_partial_reg_dependency, x86_rep_movl_optimal,
+ x86_use_incdec, x86_four_jump_limit, x86_schedule,
+ x86_pad_returns): Add m_CORE2.
+ (override_options): Add entries for Core2.
+ (ix86_issue_rate): Add case for Core2.
+
+2006-10-27 Vladimir Makarov <vmakarov at redhat.com> (r118090)
+
+ * config/i386/i386.h (TARGET_GEODE):
+ (TARGET_CPU_CPP_BUILTINS): Add code for geode.
+ (TARGET_CPU_DEFAULT_geode): New macro.
+ (TARGET_CPU_DEFAULT_k6, TARGET_CPU_DEFAULT_k6_2,
+ TARGET_CPU_DEFAULT_k6_3, TARGET_CPU_DEFAULT_athlon,
+ TARGET_CPU_DEFAULT_athlon_sse, TARGET_CPU_DEFAULT_k8,
+ TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_prescott,
+ TARGET_CPU_DEFAULT_nocona, TARGET_CPU_DEFAULT_generic): Increase
+ the macro values.
+ (TARGET_CPU_DEFAULT_NAMES): Add geode.
+ (processor_type): Add PROCESSOR_GEODE.
+
+ * config/i386/i386.md: Include geode.md.
+ (cpu): Add geode.
+
+ * config/i386/i386.c (geode_cost): New initialized global
+ variable.
+ (m_GEODE, m_K6_GEODE): New macros.
+ (x86_use_leave, x86_push_memory, x86_deep_branch, x86_use_sahf,
+ x86_use_himode_fiop, x86_promote_QImode, x86_add_esp_4,
+ x86_add_esp_8, x86_rep_movl_optimal, x86_ext_80387_constants,
+ x86_schedule): Use m_K6_GEODE instead of m_K6.
+ (x86_movx, x86_cmove): Set up m_GEODE.
+ (x86_integer_DFmode_moves): Clear m_GEODE.
+ (processor_target_table): Add entry for geode.
+ (processor_alias_table): Ditto.
+
+ * config/i386/geode.md: New file.
+
+ * doc/invoke.texi: Add entry about geode processor.
+
+2006-10-22 H.J. Lu <hongjiu.lu at intel.com> (r117958)
+
+ * config.gcc (i[34567]86-*-*): Add tmmintrin.h to extra_headers.
+ (x86_64-*-*): Likewise.
+
+ * config/i386/i386.c (pta_flags): Add PTA_SSSE3.
+ (override_options): Check SSSE3.
+ (ix86_builtins): Add IX86_BUILTIN_PHADDW, IX86_BUILTIN_PHADDD,
+ IX86_BUILTIN_PHADDSW, IX86_BUILTIN_PHSUBW, IX86_BUILTIN_PHSUBD,
+ IX86_BUILTIN_PHSUBSW, IX86_BUILTIN_PMADDUBSW,
+ IX86_BUILTIN_PMULHRSW, IX86_BUILTIN_PSHUFB,
+ IX86_BUILTIN_PSIGNB, IX86_BUILTIN_PSIGNW, IX86_BUILTIN_PSIGND,
+ IX86_BUILTIN_PALIGNR, IX86_BUILTIN_PABSB, IX86_BUILTIN_PABSW,
+ IX86_BUILTIN_PABSD, IX86_BUILTIN_PHADDW128,
+ IX86_BUILTIN_PHADDD128, IX86_BUILTIN_PHADDSW128,
+ IX86_BUILTIN_PHSUBW128, IX86_BUILTIN_PHSUBD128,
+ IX86_BUILTIN_PHSUBSW128, IX86_BUILTIN_PMADDUBSW128,
+ IX86_BUILTIN_PMULHRSW128, IX86_BUILTIN_PSHUFB128,
+ IX86_BUILTIN_PSIGNB128, IX86_BUILTIN_PSIGNW128,
+ IX86_BUILTIN_PSIGND128, IX86_BUILTIN_PALIGNR128,
+ IX86_BUILTIN_PABSB128, IX86_BUILTIN_PABSW128 and
+ IX86_BUILTIN_PABSD128.
+ (bdesc_2arg): Add SSSE3.
+ (bdesc_1arg): Likewise.
+ (ix86_init_mmx_sse_builtins): Support SSSE3.
+ (ix86_expand_builtin): Likewise.
+ * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Likewise.
+
+ * config/i386/i386.md (UNSPEC_PSHUFB): New.
+ (UNSPEC_PSIGN): Likewise.
+ (UNSPEC_PALIGNR): Likewise.
+ Include mmx.md before sse.md.
+
+ * config/i386/i386.opt: Add -mssse3.
+
+ * config/i386/sse.md (ssse3_phaddwv8hi3): New pattern for SSSE3.
+ (ssse3_phaddwv4hi3): Likewise.
+ (ssse3_phadddv4si3): Likewise.
+ (ssse3_phadddv2si3): Likewise.
+ (ssse3_phaddswv8hi3): Likewise.
+ (ssse3_phaddswv4hi3): Likewise.
+ (ssse3_phsubwv8hi3): Likewise.
+ (ssse3_phsubwv4hi3): Likewise.
+ (ssse3_phsubdv4si3): Likewise.
+ (ssse3_phsubdv2si3): Likewise.
+ (ssse3_phsubswv8hi3): Likewise.
+ (ssse3_phsubswv4hi3): Likewise.
+ (ssse3_pmaddubswv8hi3): Likewise.
+ (ssse3_pmaddubswv4hi3): Likewise.
+ (ssse3_pmulhrswv8hi3): Likewise.
+ (ssse3_pmulhrswv4hi3): Likewise.
+ (ssse3_pshufbv16qi3): Likewise.
+ (ssse3_pshufbv8qi3): Likewise.
+ (ssse3_psign<mode>3): Likewise.
+ (ssse3_psign<mode>3): Likewise.
+ (ssse3_palignrti): Likewise.
+ (ssse3_palignrdi): Likewise.
+ (abs<mode>2): Likewise.
+ (abs<mode>2): Likewise.
+
+ * config/i386/tmmintrin.h: New file.
+
+ * doc/extend.texi: Document SSSE3 built-in functions.
+
+ * doc/invoke.texi: Document -mssse3/-mno-ssse3 switches.
Modified: projects/largeSMP/lib/libmemstat/memstat.h
==============================================================================
--- projects/largeSMP/lib/libmemstat/memstat.h Sun May 1 00:08:13 2011 (r221286)
+++ projects/largeSMP/lib/libmemstat/memstat.h Sun May 1 00:48:03 2011 (r221287)
@@ -29,11 +29,12 @@
#ifndef _MEMSTAT_H_
#define _MEMSTAT_H_
+#include <machine/param.h>
+
/*
- * Number of CPU slots in library-internal data structures. This should be
- * at least the value of MAXCPU from param.h.
+ * Number of CPU slots in library-internal data structures.
*/
-#define MEMSTAT_MAXCPU 32
+#define MEMSTAT_MAXCPU MAXCPU
/*
* Amount of caller data to maintain for each caller data slot. Applications
Modified: projects/largeSMP/sys/ufs/ffs/ffs_vnops.c
==============================================================================
--- projects/largeSMP/sys/ufs/ffs/ffs_vnops.c Sun May 1 00:08:13 2011 (r221286)
+++ projects/largeSMP/sys/ufs/ffs/ffs_vnops.c Sun May 1 00:48:03 2011 (r221287)
@@ -591,7 +591,7 @@ ffs_read(ap)
/*
* If there are no dependencies, and it's VMIO,
* then we don't need the buf, mark it available
- * for freeing. For non-direct VMIO reads, he VM
+ * for freeing. For non-direct VMIO reads, the VM
* has the data.
*/
bp->b_flags |= B_RELBUF;
@@ -986,7 +986,7 @@ ffs_extread(struct vnode *vp, struct uio
/*
* If there are no dependencies, and it's VMIO,
* then we don't need the buf, mark it available
- * for freeing. For non-direct VMIO reads, The VM
+ * for freeing. For non-direct VMIO reads, the VM
* has the data.
*/
bp->b_flags |= B_RELBUF;
More information about the svn-src-projects
mailing list