Commit c3802755 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Avoid unnecessary remainder calculations

Detail:
  s/CDFSFiler - Avoid unnecessary remainder calculation in DivRem macro
Admin:
  Tested on Cortex-A15


Version 2.50. Tagged as 'CDFSFiler-2_50'
parent 70d31a7c
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "2.49"
Module_Version SETA 249
Module_MajorVersion SETS "2.50"
Module_Version SETA 250
Module_MinorVersion SETS ""
Module_Date SETS "14 Jan 2014"
Module_ApplicationDate SETS "14-Jan-14"
Module_Date SETS "08 May 2016"
Module_ApplicationDate SETS "08-May-16"
Module_ComponentName SETS "CDFSFiler"
Module_ComponentPath SETS "castle/RiscOS/Sources/FileSys/CDFS/CDFSFiler"
Module_FullVersion SETS "2.49"
Module_HelpVersion SETS "2.49 (14 Jan 2014)"
Module_FullVersion SETS "2.50"
Module_HelpVersion SETS "2.50 (08 May 2016)"
END
/* (2.49)
/* (2.50)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.49
#define Module_MajorVersion_CMHG 2.50
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 Jan 2014
#define Module_Date_CMHG 08 May 2016
#define Module_MajorVersion "2.49"
#define Module_Version 249
#define Module_MajorVersion "2.50"
#define Module_Version 250
#define Module_MinorVersion ""
#define Module_Date "14 Jan 2014"
#define Module_Date "08 May 2016"
#define Module_ApplicationDate "14-Jan-14"
#define Module_ApplicationDate "08-May-16"
#define Module_ComponentName "CDFSFiler"
#define Module_ComponentPath "castle/RiscOS/Sources/FileSys/CDFS/CDFSFiler"
#define Module_FullVersion "2.49"
#define Module_HelpVersion "2.49 (14 Jan 2014)"
#define Module_LibraryVersionInfo "2:49"
#define Module_FullVersion "2.50"
#define Module_HelpVersion "2.50 (08 May 2016)"
#define Module_LibraryVersionInfo "2:50"
......@@ -1267,7 +1267,7 @@ event_volume_bar
MOV r2, r2, LSL # 16
; r4 = r2 / icon width
DivRem r4, r2, r3, r14
DivRem r4, r2, r3, r14, norem
; make sure that min.(0) and max.(&ffff) values not exceeded
CMP r4, # 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment