mirror of
				https://github.com/isar/libmdbx.git
				synced 2025-10-31 15:38:57 +08:00 
			
		
		
		
	mdbx: more parallelable CMP2INT for E2K.
				
					
				
			This commit is contained in:
		| @@ -1501,10 +1501,11 @@ typedef struct MDBX_node { | ||||
|  *                |  1, a > b | ||||
|  *                \ | ||||
|  */ | ||||
| #if 1 | ||||
| #ifndef __e2k__ | ||||
| /* LY: fast enough on most systems */ | ||||
| #define CMP2INT(a, b) (((b) > (a)) ? -1 : (a) > (b)) | ||||
| #else | ||||
| /* LY: more parallelable on VLIW Elbrus */ | ||||
| #define CMP2INT(a, b) (((a) > (b)) - ((b) > (a))) | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user