Compare commits

..

No commits in common. "5ffe72cab39697096c631ee98bdc0b660f6ea7da" and "a50d2312773e4f0929a85442a24131b92402456f" have entirely different histories.

7 changed files with 7 additions and 72 deletions

View file

@ -25,7 +25,7 @@ void LoadA8ToRGBA8(size_t width,
size_t outputRowPitch,
size_t outputDepthPitch)
{
#if defined(ANGLE_USE_SSE) && !(defined(__GNUC__) && !defined(__clang__))
#if defined(ANGLE_USE_SSE)
if (gl::supportsSSE2())
{
__m128i zeroWide = _mm_setzero_si128();
@ -594,7 +594,7 @@ void LoadRGBA8ToBGRA8(size_t width,
size_t outputRowPitch,
size_t outputDepthPitch)
{
#if defined(ANGLE_USE_SSE) && !(defined(__GNUC__) && !defined(__clang__))
#if defined(ANGLE_USE_SSE)
if (gl::supportsSSE2())
{
__m128i brMask = _mm_set1_epi32(0x00ff00ff);

View file

@ -405,8 +405,6 @@ SOURCES += [
if CONFIG['CC_TYPE'] == 'gcc':
SOURCES['vm/SelfHosting.cpp'].flags += ['-fopenmp']
OS_LIBS += ['gomp']
if CONFIG['OS_ARCH'] == 'WINNT':
OS_LIBS += ['dl']
if CONFIG['JS_POSIX_NSPR']:
posix_nspr_deunified_sources = [

View file

@ -114,34 +114,7 @@ public:
};
struct CalcNode final {
#if defined(__MINGW32__)
MOZ_NEVER_INLINE MozExternalRefCountType AddRef(void)
{
MOZ_ASSERT_TYPE_OK_FOR_REFCOUNTING(CalcNode)
MOZ_ASSERT(int32_t(mRefCnt) >= 0, "illegal refcnt");
nsrefcnt count = ++mRefCnt;
NS_LOG_ADDREF(this, count, "CalcNode", sizeof(*this));
return (nsrefcnt) count;
}
MOZ_NEVER_INLINE MozExternalRefCountType Release(void)
{
MOZ_ASSERT(int32_t(mRefCnt) > 0, "dup release");
nsrefcnt count = --mRefCnt;
NS_LOG_RELEASE(this, count, "CalcNode");
if (count == 0) {
delete (this);
return 0;
}
return count;
}
typedef mozilla::TrueType HasThreadSafeRefCnt;
protected:
::mozilla::ThreadSafeAutoRefCnt mRefCnt;
public:
#else
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CalcNode)
#endif
enum class Type : uint8_t {
Leaf,
@ -178,34 +151,7 @@ public:
// Reference counted calc() value. This is the type that is used to store
// the calc() value in nsStyleCoord.
struct Calc final : public CalcValue {
#if defined(__MINGW32__)
MOZ_NEVER_INLINE MozExternalRefCountType AddRef(void)
{
MOZ_ASSERT_TYPE_OK_FOR_REFCOUNTING(Calc)
MOZ_ASSERT(int32_t(mRefCnt) >= 0, "illegal refcnt");
nsrefcnt count = ++mRefCnt;
NS_LOG_ADDREF(this, count, "Calc", sizeof(*this));
return (nsrefcnt) count;
}
MOZ_NEVER_INLINE MozExternalRefCountType Release(void)
{
MOZ_ASSERT(int32_t(mRefCnt) > 0, "dup release");
nsrefcnt count = --mRefCnt;
NS_LOG_RELEASE(this, count, "Calc");
if (count == 0) {
delete (this);
return 0;
}
return count;
}
typedef mozilla::TrueType HasThreadSafeRefCnt;
protected:
::mozilla::ThreadSafeAutoRefCnt mRefCnt;
public:
#else
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(Calc)
#endif
Calc() {}
bool HasCalcNode() const { return !!mNode; }

View file

@ -45,8 +45,6 @@ else:
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += ['-fopenmp']
OS_LIBS += ['gomp']
if CONFIG['OS_ARCH'] == 'WINNT':
OS_LIBS += ['dl']
DEFINES['BUILDING_SOUNDTOUCH'] = 1

View file

@ -11,8 +11,6 @@ ac_add_options --target=i686-pc-mingw32
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86
WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86
# Force compiler + linker + tools
CC=gcc
CXX=g++
LD=g++
@ -20,11 +18,6 @@ AR=ar
AS=as
RANLIB=ranlib
export GCC=/c/mingw32/bin
# Force PATH so UXP thinks only GCC is there
export PATH="$GCC:$PATH"
# Build only Hydra
ac_add_options --enable-application=basilisk
ac_add_options --disable-artifact-builds
@ -44,7 +37,7 @@ ac_add_options --enable-devtools
#ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-js-lto
ac_add_options --enable-optimize="-O2 -w -march=pentium3 -mtune=pentium3 -msse -mno-sse2 -fno-tree-vectorize"
ac_add_options --enable-optimize="-O2"
ac_add_options --enable-phoenix-extensions
ac_add_options --enable-release
ac_add_options --enable-shared-js
@ -56,7 +49,7 @@ export MOZILLA_OFFICIAL=1
export STRIP_FLAGS="--strip-debug --strip-unneeded"
# Media settings
ac_add_options --disable-av1
ac_add_options --enable-av1
ac_add_options --enable-jxl
ac_add_options --enable-raw
ac_add_options --disable-webrtc

View file

@ -8,7 +8,7 @@ include $(topsrcdir)/config/config.mk
ifeq (WINNT,$(OS_TARGET))
mozglue.def: mozglue.def.in $(GLOBAL_DEPS)
$(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(if $(GNU_CC),-DGNU_CC) $(ACDEFINES) $< -o $@)
$(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(ACDEFINES) $< -o $@)
GARBAGE += mozglue.def
endif

View file

@ -894,9 +894,9 @@ case "$target" in
IMPORT_LIB_SUFFIX=lib
MKSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ -PDB:$(LINK_PDBFILE) $(DSO_LDOPTS)'
MKCSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ -PDB:$(LINK_PDBFILE) $(DSO_LDOPTS)'
dnl Set subsystem version 4 for NT4/9x, version 5 for XP x64
dnl Set subsystem version 5 for Windows XP.
if test "$CPU_ARCH" = "x86"; then
WIN32_SUBSYSTEM_VERSION=4.00
WIN32_SUBSYSTEM_VERSION=5.01
else
WIN32_SUBSYSTEM_VERSION=5.02
fi