Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for __amd64__ (0.19 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

        }
    
        private ArchitectureInternal determineArchitecture(Map<String, String> defines) {
            boolean i386 = defines.containsKey("__i386__");
            boolean amd64 = defines.containsKey("__amd64__");
            final ArchitectureInternal architecture;
            if (i386) {
                architecture = Architectures.forInput("i386");
            } else if (amd64) {
                architecture = Architectures.forInput("amd64");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    #define __GNUC_PATCHLEVEL__ 0
    #define __GNUC__ 10
    """
    
        static def gccAmd64 = """#define __GNUC_MINOR__ 2
    #define __GNUC_PATCHLEVEL__ 1
    #define __GNUC__ 4
    #define __amd64__ 1
    """
        static def gccCygwin64 = """#define __CYGWIN__ 1
    #define __GNUC__ 7
    #define __GNUC_MINOR__ 3
    #define __x86_64__ 1
    """
        static def clang = """#define __GNUC_MINOR__ 2
    #define __GNUC_PATCHLEVEL__ 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/runtime/testdata/testwinlib/main.c

    {
        if (ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_BREAKPOINT)
        {
            exceptionCount++;
            // prepare context to resume execution
            CONTEXT *c = ExceptionInfo->ContextRecord;
    #ifdef _AMD64_
            c->Rip = *(DWORD64 *)c->Rsp;
            c->Rsp += 8;
    #elif defined(_X86_)
            c->Eip = *(DWORD *)c->Esp;
            c->Esp += 4;
    #else
            c->Pc = c->Lr;
    #endif
    #ifdef _ARM64_
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    /*
    #include <windows.h>
    USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) {
    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    		PRUNTIME_FUNCTION FunctionEntry;
    		ULONG64 ImageBase;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_signal_ios_arm64.c

    		fprintf(stderr, "runtime/cgo: thread_get_state failed: %d\n", ret);
    		abort();
    	}
    
    	// Bounce call to sigpanic through asm that makes it look like
    	// we call sigpanic directly from the faulting code.
    #ifdef __arm64__
    	thread_state.ts_64.__x[1] = thread_state.ts_64.__lr;
    	thread_state.ts_64.__x[2] = thread_state.ts_64.__pc;
    	thread_state.ts_64.__pc = x_cgo_panicmem;
    #else
    	thread_state.ts_32.__r[1] = thread_state.ts_32.__lr;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/test.go

    #ifdef __ARMEL__
    int vabs(int x) {
    	puts("testLibgcc is disabled on ARM because 5l cannot handle thumb library.");
    	return (x < 0) ? -x : x;
    }
    #elif defined(__arm64__) && defined(__clang__)
    int vabs(int x) {
    	puts("testLibgcc is disabled on ARM64 with clang due to lack of libgcc.");
    	return (x < 0) ? -x : x;
    }
    #else
    int __absvsi2(int); // dummy prototype for libgcc function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top