コード例 #1
0
ファイル: cpu.py プロジェクト: digideskio/numba
    def post_lowering(self, mod, library):
        if self.is32bit:
            # 32-bit machine needs to replace all 64-bit div/rem to avoid
            # calls to compiler-rt
            intrinsics.fix_divmod(mod)

        library.add_linking_library(rtsys.library)
コード例 #2
0
ファイル: cpu.py プロジェクト: radovankavicky/numba
    def post_lowering(self, mod, library):
        if self.is32bit:
            # 32-bit machine needs to replace all 64-bit div/rem to avoid
            # calls to compiler-rt
            intrinsics.fix_divmod(mod)

        library.add_linking_library(rtsys.library)
コード例 #3
0
ファイル: cpu.py プロジェクト: jriehl/numba
    def post_lowering(self, func):
        mod = func.module

        if self.is32bit:
            # 32-bit machine needs to replace all 64-bit div/rem to avoid
            # calls to compiler-rt
            intrinsics.fix_divmod(mod)

        install_atomic_refct(mod)
コード例 #4
0
ファイル: cpu.py プロジェクト: johandroid/numba
    def post_lowering(self, func):
        mod = func.module

        if (sys.platform.startswith('linux') or
                sys.platform.startswith('win32')):
            intrinsics.fix_powi_calls(mod)

        if self.is32bit:
            # 32-bit machine needs to replace all 64-bit div/rem to avoid
            # calls to compiler-rt
            intrinsics.fix_divmod(mod)
コード例 #5
0
ファイル: cpu.py プロジェクト: johandroid/numba
    def post_lowering(self, func):
        mod = func.module

        if (sys.platform.startswith('linux')
                or sys.platform.startswith('win32')):
            intrinsics.fix_powi_calls(mod)

        if self.is32bit:
            # 32-bit machine needs to replace all 64-bit div/rem to avoid
            # calls to compiler-rt
            intrinsics.fix_divmod(mod)