pipeline arithmetic