Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / toolkit / xre / nsSigHandlers.h
blobf7424c026af6b2921158b731389cd0727f69aaee
1 /* -*- Mode: C++; tab-width: 40; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #if defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || \
7 defined(__i386) || defined(__amd64__)
9 /*
10 * x87 FPU Control Word:
12 * 0 -> IM Invalid Operation
13 * 1 -> DM Denormalized Operand
14 * 2 -> ZM Zero Divide
15 * 3 -> OM Overflow
16 * 4 -> UM Underflow
17 * 5 -> PM Precision
19 # define FPU_EXCEPTION_MASK 0x3f
22 * x86 FPU Status Word:
24 * 0..5 -> Exception flags (see x86 FPU Control Word)
25 * 6 -> SF Stack Fault
26 * 7 -> ES Error Summary Status
28 # define FPU_STATUS_FLAGS 0xff
31 * MXCSR Control and Status Register:
33 * 0..5 -> Exception flags (see x86 FPU Control Word)
34 * 6 -> DAZ Denormals Are Zero
35 * 7..12 -> Exception mask (see x86 FPU Control Word)
37 # define SSE_STATUS_FLAGS FPU_EXCEPTION_MASK
38 # define SSE_EXCEPTION_MASK (FPU_EXCEPTION_MASK << 7)
40 #endif