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

Avoid unnecessary remainder calculations

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


Version 2.32. Tagged as 'RAMFS-2_32'
parent 375a634f
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "2.31"
Module_Version SETA 231
Module_MajorVersion SETS "2.32"
Module_Version SETA 232
Module_MinorVersion SETS ""
Module_Date SETS "31 Aug 2015"
Module_ApplicationDate SETS "31-Aug-15"
Module_Date SETS "08 May 2016"
Module_ApplicationDate SETS "08-May-16"
Module_ComponentName SETS "RAMFS"
Module_ComponentPath SETS "castle/RiscOS/Sources/FileSys/RAMFS/RAMFS"
Module_FullVersion SETS "2.31"
Module_HelpVersion SETS "2.31 (31 Aug 2015)"
Module_FullVersion SETS "2.32"
Module_HelpVersion SETS "2.32 (08 May 2016)"
END
/* (2.31)
/* (2.32)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.31
#define Module_MajorVersion_CMHG 2.32
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 31 Aug 2015
#define Module_Date_CMHG 08 May 2016
#define Module_MajorVersion "2.31"
#define Module_Version 231
#define Module_MajorVersion "2.32"
#define Module_Version 232
#define Module_MinorVersion ""
#define Module_Date "31 Aug 2015"
#define Module_Date "08 May 2016"
#define Module_ApplicationDate "31-Aug-15"
#define Module_ApplicationDate "08-May-16"
#define Module_ComponentName "RAMFS"
#define Module_ComponentPath "castle/RiscOS/Sources/FileSys/RAMFS/RAMFS"
#define Module_FullVersion "2.31"
#define Module_HelpVersion "2.31 (31 Aug 2015)"
#define Module_LibraryVersionInfo "2:31"
#define Module_FullVersion "2.32"
#define Module_HelpVersion "2.32 (08 May 2016)"
#define Module_LibraryVersionInfo "2:32"
......@@ -259,7 +259,7 @@ Max_Zones * 16 ; max allowed zones
Push "R0, R1, R2"
MOV r0, r6 ; allocation bits in a zone
ADD r1, r3, #1 ; idlen+1
DivRem r8, r0, r1, r2
DivRem r8, r0, r1, r2, norem
Pull "R0, R1, R2"
; check that IdLen is enough for total possible ids
......
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