Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f6bd3286edfbe5eb6b50946cc8bb89e5c60b9388
      
https://github.com/tianocore/edk2/commit/f6bd3286edfbe5eb6b50946cc8bb89e5c60b9388
  Author: Chasel Chiu <chasel.c...@intel.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M IntelFsp2Pkg/FspSecCore/X64/FspApiEntryT.nasm
    M IntelFsp2Pkg/FspSecCore/X64/FspHelper.nasm

  Log Message:
  -----------
  IntelFsp2Pkg: Fix NASM X64 build warnings.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4377

Fix below warnings generated by NASM X64 build:
/X64/FspHelper.iii:26: warning: signed dword value exceeds bounds
/X64/FspHelper.iii:35: warning: signed dword value exceeds bounds
/X64/FspApiEntryT.iii:320: warning: dword data exceeds bounds

Also replaced "cmp reg, 0" with "test reg, reg" per optimization
suggestion.

Cc: Nate DeSimone <nathaniel.l.desim...@intel.com>
Cc: Star Zeng <star.z...@intel.com>
Signed-off-by: Chasel Chiu <chasel.c...@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desim...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to