Commit 117db38f authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Avoid unnecessary remainder calculations

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


Version 0.20. Tagged as 'DragASprit-0_20'
parent e02a347c
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "0.19" Module_MajorVersion SETS "0.20"
Module_Version SETA 19 Module_Version SETA 20
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "05 Jul 2014" Module_Date SETS "08 May 2016"
Module_ApplicationDate SETS "05-Jul-14" Module_ApplicationDate SETS "08-May-16"
Module_ComponentName SETS "DragASprit" Module_ComponentName SETS "DragASprit"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/DragASprit" Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/DragASprit"
Module_FullVersion SETS "0.19" Module_FullVersion SETS "0.20"
Module_HelpVersion SETS "0.19 (05 Jul 2014)" Module_HelpVersion SETS "0.20 (08 May 2016)"
END END
/* (0.19) /* (0.20)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 0.19 #define Module_MajorVersion_CMHG 0.20
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 05 Jul 2014 #define Module_Date_CMHG 08 May 2016
#define Module_MajorVersion "0.19" #define Module_MajorVersion "0.20"
#define Module_Version 19 #define Module_Version 20
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "05 Jul 2014" #define Module_Date "08 May 2016"
#define Module_ApplicationDate "05-Jul-14" #define Module_ApplicationDate "08-May-16"
#define Module_ComponentName "DragASprit" #define Module_ComponentName "DragASprit"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/DragASprit" #define Module_ComponentPath "castle/RiscOS/Sources/Desktop/DragASprit"
#define Module_FullVersion "0.19" #define Module_FullVersion "0.20"
#define Module_HelpVersion "0.19 (05 Jul 2014)" #define Module_HelpVersion "0.20 (08 May 2016)"
#define Module_LibraryVersionInfo "0:19" #define Module_LibraryVersionInfo "0:20"
...@@ -1177,7 +1177,7 @@ GTDS_frame_size * :INDEX: @ ...@@ -1177,7 +1177,7 @@ GTDS_frame_size * :INDEX: @
RSB r3, r3, #256 ; r3 = Ac RSB r3, r3, #256 ; r3 = Ac
; Calculate s ; Calculate s
MOV r4, r4, LSL #8 MOV r4, r4, LSL #8
DivRem r8, r4, r3, lr ; r8 = s DivRem r8, r4, r3, lr, norem ; r8 = s
; Calculate final RGB ; Calculate final RGB
; This is rather simple, since we want the drop shadow to be black ; This is rather simple, since we want the drop shadow to be black
MUL r5, r8, r5 MUL r5, r8, r5
......
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