diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index b471f5c2e..97f342ef0 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -37,7 +37,7 @@ jobs: cd src gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX32_FLAGS }} $LATEST_FLAG -o cc-nix32-gl1 -lX11 -lXi -lpthread -lGL -lm -ldl - gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX32_FLAGS }} $LATEST_FLAG -DCC_BUILD_GLMODERN -o cc-nix32-gl2 -lX11 -lXi -lpthread -lGL -lm -ldl + gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX32_FLAGS }} $LATEST_FLAG -DCC_GFX_BACKEND=CC_GFX_BACKEND_GL2 -o cc-nix32-gl2 -lX11 -lXi -lpthread -lGL -lm -ldl - uses: ./.github/actions/notify_failure @@ -85,8 +85,8 @@ jobs: cd src gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX64_FLAGS }} $LATEST_FLAG -o cc-nix64-gl1 -lX11 -lXi -lpthread -lGL -lm -ldl - gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX64_FLAGS }} $LATEST_FLAG -DCC_BUILD_GLMODERN -o cc-nix64-gl2 -lX11 -lXi -lpthread -lGL -lm -ldl - gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX64_FLAGS }} $LATEST_FLAG -DCC_BUILD_GLMODERN -DCC_WIN_BACKEND=CC_WIN_BACKEND_SDL2 -o cc-sdl64-gl2 -lSDL2 -lpthread -lGL -lm -ldl + gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX64_FLAGS }} $LATEST_FLAG -DCC_GFX_BACKEND=CC_GFX_BACKEND_GL2 -o cc-nix64-gl2 -lX11 -lXi -lpthread -lGL -lm -ldl + gcc *.c ${{ env.COMMON_FLAGS }} ${{ env.NIX64_FLAGS }} $LATEST_FLAG -DCC_GFX_BACKEND=CC_GFX_BACKEND_GL2 -DCC_WIN_BACKEND=CC_WIN_BACKEND_SDL2 -o cc-sdl64-gl2 -lSDL2 -lpthread -lGL -lm -ldl - uses: ./.github/actions/notify_failure diff --git a/.github/workflows/build_mac32.yml b/.github/workflows/build_mac32.yml index 38e3ffe6d..bdb9af9fb 100644 --- a/.github/workflows/build_mac32.yml +++ b/.github/workflows/build_mac32.yml @@ -13,7 +13,9 @@ concurrency: jobs: build: - if: ${{ secrets.GHCR_ACCESS_KEY != '' }} + env: + GHCR_ACCESS_KEY: ${{ secrets.GHCR_ACCESS_KEY }} + if: env.GHCR_ACCESS_KEY runs-on: ubuntu-latest container: image: ghcr.io/classicube/minimal-osxcross:latest diff --git a/misc/dreamcast/ViewportTransform.S b/misc/dreamcast/ViewportTransform.S index 3ceb5bdb1..81f2cf19a 100644 --- a/misc/dreamcast/ViewportTransform.S +++ b/misc/dreamcast/ViewportTransform.S @@ -1,13 +1,13 @@ ! ========================================================= ! ======================== PROCESSOR INFO ================= ! ========================================================= -! The SH4 can dual issue (i.e. parallel execution) instructions +! The SH4 can dual issue (i.e. parallel execution) two instructions ! as long as the groups of the two instructions are different: ! * LS - most APU and FPU register load/stores ! * EX - most APU arithmetic instructions ! * MT - TST, CMP, NOP, MOV Rm,Rn ! * FE - most FPU arithmetic instructions -! * CO - other instructions +! * CO - other instructions (NOTE: Cannot be exeucted in parallel) ! Thee following general aspects of instructions are important to note per the SH4 manual: ! * Issue rate: Interval between the issue of an instruction and that of the next instruction