Use more efficient 256-bit conditional move operations and eliminate a temporary variable