PR target/109402: v850 (not v850e) variant of __muldi3() moves sp in reversed directi...
authorTetsuma Hoshino <t-hoshino@pony-e.jp>
Sat, 8 Apr 2023 14:19:53 +0000 (08:19 -0600)
committerJeff Law <jlaw@ventanamicro>
Sat, 8 Apr 2023 14:26:00 +0000 (08:26 -0600)
commit79fb2de020c499bd01708e1418965a11166b7d5b
treebeec3f471c56f7bef2adac4498091eb3d02a2759
parentc18b1b0bc78c27257cfc8448581564337412f567
PR target/109402: v850 (not v850e) variant of __muldi3() moves sp in reversed direction [PR109402]

muldi3 will deallocate stack space after the call to __save_r26_r31,
then re-allocate the space a short while later.  If an interrupt
occurs in that window, it can clobber items on the stack.

PR target/109402

libgcc/
* config/v850/lib1funcs.S (___muldi3): Remove unnecessary
stack manipulations.
libgcc/config/v850/lib1funcs.S