mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 02:40:25 +00:00
Remove use of <fpu_control.h> in minisat
This commit is contained in:
parent
106e44f406
commit
71cbe98a09
4 changed files with 44 additions and 18 deletions
|
@ -21,10 +21,6 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
|
|||
#ifndef Minisat_System_h
|
||||
#define Minisat_System_h
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <fpu_control.h>
|
||||
#endif
|
||||
|
||||
#include "IntTypes.h"
|
||||
|
||||
//-------------------------------------------------------------------------------------------------
|
||||
|
@ -36,9 +32,6 @@ static inline double cpuTime(void); // CPU-time in seconds.
|
|||
extern double memUsed(); // Memory in mega bytes (returns 0 for unsupported architectures).
|
||||
extern double memUsedPeak(bool strictlyPeak = false); // Peak-memory in mega bytes (returns 0 for unsupported architectures).
|
||||
|
||||
extern void setX86FPUPrecision(); // Make sure double's are represented with the same precision
|
||||
// in memory and registers.
|
||||
|
||||
extern void limitMemory(uint64_t max_mem_mb); // Set a limit on total memory usage. The exact
|
||||
// semantics varies depending on architecture.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue