aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/vms/vms-f.cc
diff options
context:
space:
mode:
authorRobert Dubner <rdubner@symas.com>2025-08-08 13:04:53 -0400
committerRobert Dubner <rdubner@symas.com>2025-08-08 13:53:59 -0400
commit435e09e05c3750cad153c3c6e83134803c22c7f6 (patch)
tree20b7234399b48fd8bfd0a69bd5a5e5c66bec420b /gcc/config/vms/vms-f.cc
parente49bdf2c6c3fe9bf1c18b885727423dee5a67c44 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
cobol: Divide-and-conquer conversion from binary to packed-decimal.HEADtrunkmaster
The legacy routine for converting a binary integer to a packed-decimal representaion peeled two digits at a time from the bottom of an _int128 value. These changes replace that routine with a divide-and-conquer algorithm that runs about ten times faster. libgcobol/ChangeLog: * libgcobol.cc (int128_to_field): Switch to the new routine. * stringbin.cc (packed_from_combined): Implement the new routine. (__gg__binary_to_packed): Likewise. * stringbin.h (__gg__binary_to_packed): Likewise.
Diffstat (limited to 'gcc/config/vms/vms-f.cc')
0 files changed, 0 insertions, 0 deletions