示例#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
    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)