Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/c-build-tools
Submodule c-build-tools updated 42 files
+13 −84 build/devops.yml
+71 −11 build_functions/CMakeLists.txt
+415 −0 docs/arm64_pipeline_task_analysis.md
+97 −0 pipeline_templates/README.md
+8 −9 pipeline_templates/build_all_flavors.yml
+113 −46 pipeline_templates/build_and_run_tests.yml
+68 −0 pipeline_templates/collect_linux_crash_reports.yml
+19 −0 pipeline_templates/disable_linux_crash_reports.yml
+325 −0 pipeline_templates/discover_native_tools.yml
+29 −0 pipeline_templates/enable_linux_crash_reports.yml
+107 −0 pipeline_templates/run_with_crash_reports.yml
+7 −0 pipeline_templates/scripts/appverifier_ctest_tests_helper.ps1
+10 −3 pipeline_templates/scripts/submodule_master_check.ps1
+154 −0 pipeline_templates/tasks/README.md
+109 −0 pipeline_templates/tasks/cmake.yml
+152 −0 pipeline_templates/tasks/ctest.yml
+144 −0 pipeline_templates/tasks/msbuild.yml
+161 −0 pipeline_templates/tasks/vsbuild.yml
+202 −0 pipeline_templates/tasks/vstest.yml
+71 −0 pipeline_templates/verify_agent_architecture.yml
+67 −1 reals_check/reals_check.ps1
+1 −1 sarif_results_checker/App.config
+17 −3 sarif_results_checker/CMakeLists.txt
+16 −3 traceabilitytool/CMakeLists.txt
+101 −34 update_deps/dependency_updates_propagation.md
+318 −0 update_deps/helper_scripts/azure_repo_ops.ps1
+128 −50 update_deps/helper_scripts/build_graph.ps1
+43 −0 update_deps/helper_scripts/check_powershell_version.ps1
+69 −0 update_deps/helper_scripts/check_script_update.ps1
+117 −0 update_deps/helper_scripts/git_operations.ps1
+88 −0 update_deps/helper_scripts/github_repo_ops.ps1
+166 −0 update_deps/helper_scripts/install_az_cli.ps1
+88 −0 update_deps/helper_scripts/install_gh_cli.ps1
+522 −0 update_deps/helper_scripts/pr_watch_utils.ps1
+130 −0 update_deps/helper_scripts/repo_order_cache.ps1
+256 −0 update_deps/helper_scripts/status_tracking.ps1
+456 −0 update_deps/helper_scripts/success_animation.ps1
+458 −0 update_deps/helper_scripts/watch_azure_pr.ps1
+252 −0 update_deps/helper_scripts/watch_github_pr.ps1
+169 −327 update_deps/propagate_updates.ps1
+12 −0 vcpkg_triplets/arm64-windows-static-cbt-asan.cmake
+13 −0 vcpkg_triplets/arm64-windows-static-cbt.cmake
2 changes: 1 addition & 1 deletion deps/c-testrunnerswitcher
2 changes: 1 addition & 1 deletion deps/ctest
2 changes: 1 addition & 1 deletion deps/macro-utils-c
2 changes: 1 addition & 1 deletion deps/mimalloc
Submodule mimalloc updated 196 files
2 changes: 1 addition & 1 deletion deps/umock-c
2 changes: 1 addition & 1 deletion deps/vcpkg
Submodule vcpkg updated 4372 files
12 changes: 10 additions & 2 deletions win32/src/arithmetic_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@

#include "c_pal/arithmetic.h"

#if defined(_WIN64)
/*only works if compiling on 64 bits*/
#if defined(_M_ARM64)
PAL_UINT128 umul64x64(uint64_t left, uint64_t right)
{
/*Codes_SRS_ARITHMETIC_02_001: [ umul64x64 shall multiply left and right and return PAL_UINT128 as result.]*/
PAL_UINT128 result;
result.low = left * right;
result.high = __umulh(left, right);
return result;
}
#elif defined(_M_AMD64)
PAL_UINT128 umul64x64(uint64_t left, uint64_t right)
{
/*Codes_SRS_ARITHMETIC_02_001: [ umul64x64 shall multiply left and right and return PAL_UINT128 as result.]*/
Expand Down
Loading