When you're running out of registers while writing a JIT, you might resort to more unconventional methods for memory access. You might choose to resort to segment registers if you need a fixed register for memory offsets.
Instructions such as:
lea rax,gs:[rcx+rdx*8]
mov rax,gs:[rcx+rdx*8]
would then be available for your use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c | |
| index c5e47cb355c..8bc83755746 100644 | |
| --- a/dlls/winex11.drv/xrandr.c | |
| +++ b/dlls/winex11.drv/xrandr.c | |
| @@ -367,7 +367,6 @@ static BOOL is_broken_driver(void) | |
| XRRScreenResources *screen_resources; | |
| XRROutputInfo *output_info; | |
| XRRModeInfo *first_mode; | |
| - INT major, event, error; | |
| INT output_idx, i, j; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| GCC_VERSION="10.1.0" | |
| WORKDIR="$HOME/gcc/src/" | |
| INSTALLDIR="/$HOME/gcc/install/gcc-${GCC_VERSION}" | |
| set +h | |
| unset LIBRARY_PATH CPATH C_INCLUDE_PATH PKG_CONFIG_PATH CPLUS_INCLUDE_PATH INCLUDE LD_LIBRARY_PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #the following settings will alleviate or outright prevent shader stutter | |
| #with the downside of taking up more GPU memory, hence it may not benefit | |
| #GPUs with insufficient VRAM | |
| #for UE2 engine titles edit the main config ini file | |
| #(e.g. Unreal2.ini) to add/change the below lines: | |
| [D3DDrv.D3DRenderDevice] | |
| UsePrecaching=True | |
| AvoidHitches=True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From ea09f193e207732202b59716db8c6c37f1d557a4 Mon Sep 17 00:00:00 2001 | |
| From: Andrius Lukosevicius <niobium93@gmail.com> | |
| Date: Tue, 7 Jun 2022 07:38:04 +0300 | |
| Subject: [PATCH] Revert "winex11.drv: Remove unused X11DRV_GET_DRAWABLE | |
| ExtEscape code." | |
| This reverts commit 96b82203f192eade6910f4ac2ecb188e27d22feb. | |
| --- | |
| dlls/winex11.drv/init.c | 8 ++++++++ | |
| dlls/winex11.drv/x11drv.h | 9 +++++++++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> | |
| pkgbase=linux | |
| pkgver=5.12.9.arch1 | |
| pkgrel=1 | |
| pkgdesc='Linux' | |
| _srctag=v${pkgver%.*}-${pkgver##*.} | |
| url="https://git.archlinux.org/linux.git/log/?h=$_srctag" | |
| arch=(x86_64) | |
| license=(GPL2) |
To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X option in the kernel line of /boot/grub/grub.conf.
Here we limit the system to only C-State 1:
kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1
On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0 may be required to ensure sleep states are not entered:
NewerOlder